Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment