46 47 48 49 50 51 52
# File 'app/workers/concerns/waitable_worker.rb', line 46 def perform(*args) notify_key = args.pop if Gitlab::JobWaiter.key?(args.last) super(*args) ensure Gitlab::JobWaiter.notify(notify_key, jid) if notify_key end