summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-07-30 11:42:36 +0700
committerShinya Maeda <shinya@gitlab.com>2019-07-30 13:47:13 +0700
commit8f14d3c1401088a61a2360b9ad988807f944bd79 (patch)
tree6bb5b73b70a55f585719d9bb2ab9adc9f19dbb69 /lib
parent52af120fcbd84e743d2d0cf726cdd579a0785cd5 (diff)
downloadgitlab-ce-8f14d3c1401088a61a2360b9ad988807f944bd79.tar.gz
Fix sidekiq memory killer warning messagefix-sidekiq-memory-killer-warn-message
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/sidekiq_middleware/memory_killer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_middleware/memory_killer.rb b/lib/gitlab/sidekiq_middleware/memory_killer.rb
index 4b10f921ed8..49c4fdc3033 100644
--- a/lib/gitlab/sidekiq_middleware/memory_killer.rb
+++ b/lib/gitlab/sidekiq_middleware/memory_killer.rb
@@ -84,7 +84,7 @@ module Gitlab
end
def warn(message, signal: nil)
- Sidekiq.logger.warn(class: worker.class, pid: pid, signal: signal, message: message)
+ Sidekiq.logger.warn(class: worker.class.name, pid: pid, signal: signal, message: message)
end
end
end