From: Brian West Date: Wed, 11 Nov 2009 16:00:30 +0000 (+0000) Subject: fix regression from r12861 to speed up loop but did not add factor of 10 to counter... X-Git-Tag: v1.0.6~1440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c197896c1351b7bcefa87be8aedd195dcf221d8;p=thirdparty%2Ffreeswitch.git fix regression from r12861 to speed up loop but did not add factor of 10 to counter for expire checking code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15428 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 955096a30a..1645880e84 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -958,7 +958,7 @@ void *SWITCH_THREAD_FUNC sofia_profile_worker_thread_run(switch_thread_t *thread } } - if (++loops >= 100) { + if (++loops >= 1000) { if (++ireg_loops >= IREG_SECONDS) { sofia_reg_check_expire(profile, switch_epoch_time_now(NULL), 0); ireg_loops = 0;