Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/web_hooks/log_execution_worker.rb')
-rw-r--r--app/workers/web_hooks/log_execution_worker.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/workers/web_hooks/log_execution_worker.rb b/app/workers/web_hooks/log_execution_worker.rb
index 58059370200..50d91182c80 100644
--- a/app/workers/web_hooks/log_execution_worker.rb
+++ b/app/workers/web_hooks/log_execution_worker.rb
@@ -4,10 +4,12 @@ module WebHooks
class LogExecutionWorker
include ApplicationWorker
- idempotent!
+ data_consistency :always
feature_category :integrations
urgency :low
+ idempotent!
+
# This worker accepts an extra argument. This enables us to
# treat this worker as idempotent. Currently this is set to
# the Job ID (jid) of the parent worker.