diff options
Diffstat (limited to 'app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb')
-rw-r--r-- | app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb b/app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb index b209719479b..1090d82c922 100644 --- a/app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb +++ b/app/workers/concerns/gitlab/bitbucket_server_import/object_importer.rb @@ -23,7 +23,7 @@ module Gitlab # If a job is being exhausted we still want to notify the # Gitlab::Import::AdvanceStageWorker to prevent the entire import from getting stuck if args.length == 3 && (key = args.last) && key.is_a?(String) - JobWaiter.notify(key, jid) + JobWaiter.notify(key, jid, ttl: Gitlab::Import::JOB_WAITER_TTL) end end end @@ -61,7 +61,7 @@ module Gitlab end def notify_waiter(key) - JobWaiter.notify(key, jid) + JobWaiter.notify(key, jid, ttl: Gitlab::Import::JOB_WAITER_TTL) end # Returns the class to use for importing the object. |