From 2c197896c1351b7bcefa87be8aedd195dcf221d8 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 11 Nov 2009 16:00:30 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;