diff options
Diffstat (limited to 'app/workers/namespaces/root_statistics_worker.rb')
-rw-r--r-- | app/workers/namespaces/root_statistics_worker.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/namespaces/root_statistics_worker.rb b/app/workers/namespaces/root_statistics_worker.rb index e1271dae335..157a779dda6 100644 --- a/app/workers/namespaces/root_statistics_worker.rb +++ b/app/workers/namespaces/root_statistics_worker.rb @@ -11,6 +11,7 @@ module Namespaces queue_namespace :update_namespace_statistics feature_category :source_code_management idempotent! + deduplicate :until_executed, if_deduplicated: :reschedule_once def perform(namespace_id) namespace = Namespace.find(namespace_id) |