mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-27 01:04:01 +00:00
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
This commit is contained in:
parent
fa33d47640
commit
2c197896c1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user