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

Memoize accessor

parent e0c41305
......@@ -11,7 +11,7 @@ class MergeRequestMergeabilityCheckWorker
idempotent!
def logger
Sidekiq.logger
@logger ||= Sidekiq.logger
end
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