You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2026/01/05 14:58:52 UTC

(allura) branch master updated: Add a 5 second delay to project_updated events to avoid potential race condition

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new efe93fb20 Add a 5 second delay to project_updated events to avoid potential race condition
efe93fb20 is described below

commit efe93fb20b9edbe441deac0e1d4cf3d6ca5c758e
Author: Kenton Taylor <kt...@slashdotmedia.com>
AuthorDate: Mon Dec 22 19:10:42 2025 +0000

    Add a 5 second delay to project_updated events to avoid potential race condition
---
 Allura/allura/lib/project_create_helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/lib/project_create_helpers.py b/Allura/allura/lib/project_create_helpers.py
index 2ec2cb3f7..29feb72d2 100644
--- a/Allura/allura/lib/project_create_helpers.py
+++ b/Allura/allura/lib/project_create_helpers.py
@@ -322,5 +322,5 @@ def create_project_with_attrs(p, nbhd, update=False, ensure_tools=False):
         if creating:
             g.post_event('project_created')
         else:
-            g.post_event('project_updated')
+            g.post_event('project_updated', __task_delay=5)
     return project