ITS#2895 sleep(1) here masks race conditions, don't do it.

This commit is contained in:
Howard Chu 2003-12-24 14:03:43 +00:00
parent e6f34fddcd
commit e8450ad588

View file

@ -292,8 +292,11 @@ do_addel(
} }
#if 0
/* wait a second for the add to really complete */ /* wait a second for the add to really complete */
/* This masks some race conditions though. */
sleep( 1 ); sleep( 1 );
#endif
/* now delete the entry again */ /* now delete the entry again */
if ( ldap_delete_s( ld, entry ) != LDAP_SUCCESS ) { if ( ldap_delete_s( ld, entry ) != LDAP_SUCCESS ) {