]> git.sur5r.net Git - openldap/commitdiff
allow a minimal timeout in compares
authorPierangelo Masarati <ando@openldap.org>
Mon, 22 Aug 2005 09:42:26 +0000 (09:42 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 22 Aug 2005 09:42:26 +0000 (09:42 +0000)
servers/slapd/back-meta/compare.c

index 9fd06be3e0f0bb68e49dea5e4dbf8c02bcbf8168..0b5adf6b35c9d88787aa80df40f366d1b6bef158 100644 (file)
@@ -179,7 +179,7 @@ meta_back_compare( Operation *op, SlapReply *rs )
                        struct timeval          tv = { 0 };
 
                        tv.tv_sec = 0;
-                       tv.tv_usec = 0;
+                       tv.tv_usec = 100000;    /* 0.1 s */
 
                        if ( msgid[ i ] == -1 ) {
                                continue;