Commit d25edf8d authored by Gary Holtz's avatar Gary Holtz Committed by Nikola Milojevic

Memoize accessor

parent e0c41305
...@@ -11,7 +11,7 @@ class MergeRequestMergeabilityCheckWorker ...@@ -11,7 +11,7 @@ class MergeRequestMergeabilityCheckWorker
idempotent! idempotent!
def logger def logger
Sidekiq.logger @logger ||= Sidekiq.logger
end end
def perform(merge_request_id) def perform(merge_request_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment