Browse Source

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 11 years ago
parent
commit
d29103045e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      modules/dmq/dmq.c
  2. 1 1
      modules/dmq/dmq.h

+ 1 - 1
modules/dmq/dmq.c

@@ -66,7 +66,7 @@ struct sip_uri dmq_server_uri;
 
 str dmq_notification_address = {0, 0};
 struct sip_uri dmq_notification_uri;
-int ping_interval = MIN_PING_INTERVAL;
+int ping_interval = 60;
 
 /* TM bind */
 struct tm_binds tmb;

+ 1 - 1
modules/dmq/dmq.h

@@ -36,7 +36,7 @@
 #include "worker.h"
 
 #define DEFAULT_NUM_WORKERS	2
-#define MIN_PING_INTERVAL	60
+#define MIN_PING_INTERVAL	5
 
 extern int num_workers;
 extern dmq_worker_t* workers;