Commit e8450ad5 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent e6f34fdd
......@@ -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 ) {
......
Supports Markdown
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