diff options
-rw-r--r-- | ipaserver/install/ldapupdate.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py index 3d97f2222..c90f153db 100644 --- a/ipaserver/install/ldapupdate.py +++ b/ipaserver/install/ldapupdate.py @@ -265,6 +265,9 @@ class LDAPUpdate: def create_index_task(self, attribute): """Create a task to update an index for an attribute""" + # Sleep a bit to ensure previous operations are complete + time.sleep(5) + r = random.SystemRandom() # Refresh the time to make uniqueness more probable. Add on some |