Stan Hu
23bcbf04c8
Remove display of local Sidekiq process in /admin/sidekiq
...
In a cloud-native or high-availability configuration, Sidekiq may not
be running on the same node as the Web worker. The output of the `ps`
output does not work in this case and can mislead admins that
Sidekiq isn't running. Remove it in favor of the Sidekiq dashboard,
which shows local processes using the Redis information.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/46133
2018-11-15 06:37:12 -08:00
gfyoung
73322a0e55
Enable frozen string in app/controllers/**/*.rb
...
Enables frozen string for the following:
* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb
Partially addresses #47424 .
2018-09-18 21:22:45 -07:00
Sebastian Reitenbach
fd097fa9e1
Handle parsing OpenBSD ps output properly to display sidekiq
...
infos on admin->monitoring->background
2017-03-31 09:45:46 +02:00
Sebastian Reitenbach
d8569440b5
There might be ps utilities out there, that assume 80chars instead
...
of unlimited width if they cannot detect terminal size, therefore
force unlimited terminal size when checking processes via ps.
2017-03-28 23:15:17 +02:00
wendy0402
a29fbc213c
fix incorrect sidekiq concurrency count in admin background page
2017-02-19 15:15:30 +07:00
Ciro Santilli
39c66c822e
Use Gitlab.config instead of Settings everywhere
2014-10-15 23:01:31 +02:00
Dmitriy Zaporozhets
65cb88f3ba
Correct BackgroundJobs page for both OSX and linux
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-13 23:15:33 +02:00
Jacob Vosmaer
2b816075dc
Replace backticks with Gitlab::Popen
2014-03-03 08:40:29 +01:00
Dmitriy Zaporozhets
88519e9033
Refactor and restyle Admin#background_jobs page
2013-10-23 10:11:54 +03:00
Dmitriy Zaporozhets
a52936f36a
Renames resque resource to background_jobs
2013-05-30 09:46:28 +03:00