mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
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:
@@ -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) {
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user