Browse code

dmq: Lower the minimum ping interval to 5 sec

There is no real reason to have a minimum, let alone a minimum of 60 secs.

Alex Hermann authored on 25/09/2014 10:11:03
Showing 2 changed files
... ...
@@ -66,7 +66,7 @@ struct sip_uri dmq_server_uri;
66 66
 
67 67
 str dmq_notification_address = {0, 0};
68 68
 struct sip_uri dmq_notification_uri;
69
-int ping_interval = MIN_PING_INTERVAL;
69
+int ping_interval = 60;
70 70
 
71 71
 /* TM bind */
72 72
 struct tm_binds tmb;
... ...
@@ -36,7 +36,7 @@
36 36
 #include "worker.h"
37 37
 
38 38
 #define DEFAULT_NUM_WORKERS	2
39
-#define MIN_PING_INTERVAL	60
39
+#define MIN_PING_INTERVAL	5
40 40
 
41 41
 extern int num_workers;
42 42
 extern dmq_worker_t* workers;