mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#2895 sleep(1) here masks race conditions, don't do it.
This commit is contained in:
parent
e6f34fddcd
commit
e8450ad588
1 changed files with 3 additions and 0 deletions
|
|
@ -292,8 +292,11 @@ do_addel(
|
|||
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* wait a second for the add to really complete */
|
||||
/* This masks some race conditions though. */
|
||||
sleep( 1 );
|
||||
#endif
|
||||
|
||||
/* now delete the entry again */
|
||||
if ( ldap_delete_s( ld, entry ) != LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue