From 92563ae701c27e3583c74d4f01bd9b45e47deee4 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Mon, 9 Aug 2010 09:38:55 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/ChangeLog | 3 +++ mbuni/extras/mmsbox-mm1/mmsbox_mm1.c | 1 + 2 files changed, 4 insertions(+) diff --git a/mbuni/ChangeLog b/mbuni/ChangeLog index eb56af2..7631e51 100644 --- a/mbuni/ChangeLog +++ b/mbuni/ChangeLog @@ -1,3 +1,6 @@ +2010-08-09 P. A. Bagyenda + * mmsbox-mm1 change: sleep after each run, so that under high load, we are not + hanging up too soon on modem 2010-08-04 P. A. Bagyenda * Fixed mmsbox-mm1 hangs under load, thanks to Piotr Isajew 2010-07-02 P. A. Bagyenda diff --git a/mbuni/extras/mmsbox-mm1/mmsbox_mm1.c b/mbuni/extras/mmsbox-mm1/mmsbox_mm1.c index c7f0c87..450e3f3 100644 --- a/mbuni/extras/mmsbox-mm1/mmsbox_mm1.c +++ b/mbuni/extras/mmsbox-mm1/mmsbox_mm1.c @@ -520,6 +520,7 @@ static void handle_mm1(MM1Settings *mm1) mms_info(0, "mmsbox-mm1", NULL, "GPRS pid (%d) appears to be dead - quitting loop", pid); goto after_gprs_dead; } + gwthread_sleep(2); /* according to Piotr Isajew, this makes life better */ } while (gwlist_len(mm1->requests) > 0 && (r = gwlist_consume(mm1->requests)) != NULL);