# HG changeset patch # User Serhii Ilin # Date 2024-11-21 14:43:38 # Node ID cba707aa52defe07948cb6f41f5d5d316fdc7bb9 # Parent 822bcfab8f0899a7a95731e079b53f43187855a5 added delay before doing an auto merge diff --git a/rhodecode/subscribers.py b/rhodecode/subscribers.py --- a/rhodecode/subscribers.py +++ b/rhodecode/subscribers.py @@ -81,7 +81,7 @@ def auto_merge_pr_if_needed(event): scm=pull_request.target_repo.repo_type) from rc_ee.lib.celerylib.tasks import auto_merge_repo auto_merge_repo.apply_async( - args=(pull_request.pull_request_id, extras) + args=(pull_request.pull_request_id, extras), countdown=3 )