]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix regression from r12861 to speed up loop but did not add factor of 10 to counter...
authorBrian West <brian@freeswitch.org>
Wed, 11 Nov 2009 16:00:30 +0000 (16:00 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 11 Nov 2009 16:00:30 +0000 (16:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15428 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 955096a30a0fb0c849031563e1b72cbd89edbee8..1645880e8411bc8b156158e6556086c02e37e6a6 100644 (file)
@@ -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;