s4-irpc: Add value for "infinite" timeout for IRPC calls
authorKamen Mazdrashki <kamenim@samba.org>
Wed, 15 Sep 2010 11:22:27 +0000 (14:22 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Wed, 15 Sep 2010 21:15:37 +0000 (00:15 +0300)
source4/lib/messaging/irpc.h

index 2a76461954893f83e12743d8539cc183aa91e0b9..3c7edcc4dd48fefb4728d5665092e255e2265f25 100644 (file)
@@ -43,7 +43,9 @@ struct irpc_message {
 };
 
 /* don't allow calls to take too long */
-#define IRPC_CALL_TIMEOUT 10
+#define IRPC_CALL_TIMEOUT      10
+/* wait for the calls as long as it takes */
+#define IRPC_CALL_TIMEOUT_INF  0
 
 
 /* the server function type */