From 839ed051fc4fe62b9b2ce008898b538509769f88 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Wed, 15 Sep 2010 14:22:27 +0300 Subject: s4-irpc: Add value for "infinite" timeout for IRPC calls --- source4/lib/messaging/irpc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/lib/messaging') diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index 2a76461954..3c7edcc4dd 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -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 */ -- cgit