提交 2c197896 authored 作者: Brian West's avatar Brian West

fix regression from r12861 to speed up loop but did not add factor of 10 to…

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
上级 fa33d476
...@@ -958,7 +958,7 @@ void *SWITCH_THREAD_FUNC sofia_profile_worker_thread_run(switch_thread_t *thread ...@@ -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) { if (++ireg_loops >= IREG_SECONDS) {
sofia_reg_check_expire(profile, switch_epoch_time_now(NULL), 0); sofia_reg_check_expire(profile, switch_epoch_time_now(NULL), 0);
ireg_loops = 0; ireg_loops = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论