sms: Change the default values for the sms_queue

Increase the number of SMS we will try to send at a time and
decrease the failures we handle before going to the next item. With
the default timeout we will attempt to page the subscriber for 60
seconds and we can increase the queue speed by going to the next
item faster.
This commit is contained in:
Holger Hans Peter Freyther
2010-12-25 17:43:03 +01:00
parent a3a659ba5c
commit a37e3bc39a
2 changed files with 2 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
/* start the SMS queue */
if (sms_queue_start(bsc_gsmnet, 5) != 0)
if (sms_queue_start(bsc_gsmnet, 20) != 0)
return -1;
if (daemonize) {

View File

@@ -274,7 +274,7 @@ int sms_queue_start(struct gsm_network *network, int max_pending)
network->sms_queue = sms;
INIT_LLIST_HEAD(&sms->pending_sms);
sms->max_fail = 3;
sms->max_fail = 1;
sms->network = network;
sms->max_pending = max_pending;
sms->push_queue.data = sms;