Commit graph

7 commits

Author SHA1 Message Date
GitLab Bot
1f229cdc22 Add latest changes from gitlab-org/gitlab@master 2022-08-09 12:11:57 +00:00
GitLab Bot
c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot
b082790134 Add latest changes from gitlab-org/gitlab@master 2019-09-18 18:06:14 +00:00
Qingyu Zhao
eeeaebe608 Change Sidekiq monitor namespace
Move Gitlab::SidekiqMonitor to namespace Gitlab::SidekiqDaemon::Monitor
 - Class name and file name change
 - File path change to lib/gitlab/sidekiq_daemon/monitor.rb
 - Update class usage/reference in other files, including documentation
2019-09-11 00:11:54 +10:00
Kamil Trzciński
dbd88c02d6 Put cancelled job in DeadSet
This replicates Sidekiq behavior
of pushing dead job into DeadSet.
2019-08-21 21:15:03 +02:00
Kamil Trzciński
8d17c4dae6 Properly handle sidekiq skip
Transform `CancelledError` into `JobRetry::Skip`
2019-08-21 13:21:55 +02:00
Kamil Trzciński
c2cbfc5c4a Rework Sidekiq::JobsThreads into Monitor
This makes:
- very shallow `Middleware::Monitor` to only request tracking
  of sidekiq jobs,
- `SidekiqStatus::Monitor` to be responsible to maintain persistent
  connection to receive messages,
- `SidekiqStatus::Monitor` to always use structured logging
  and instance variables
2019-08-21 12:05:30 +02:00