fix regression from r12861 to speed up loop but did not add factor of 10 to counter for expire checking code
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-11 15:11:55 UTC (rev 15427)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-11 16:00:30 UTC (rev 15428)
@@ -958,7 +958,7 @@
}
}
- 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;