Commit 9254f9ee authored by Jérome Perrin's avatar Jérome Perrin

Revise r15383, activating a message priority of 6 is too much, the message will

not be retried in case of error. A priority of 3 is enough to give more chance
to activities like indexing to be executed before.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15487 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff37d82e
......@@ -271,13 +271,13 @@ class RoleProviderBase:
for i in xrange(0, object_list_len, 100):
current_path_list = object_path_list[i:i+100]
portal_activities.activate(activity='SQLQueue',
priority=6,
priority=3,
tag=update_role_tag)\
.callMethodOnObjectList(current_path_list,
'updateLocalRolesOnSecurityGroups',
reindex=False)
portal_activities.activate(activity='SQLQueue',
priority=6,
priority=3,
after_tag=update_role_tag)\
.callMethodOnObjectList(current_path_list,
'reindexObjectSecurity')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment