Revision
15428
Author
brian
Date
2009-11-11 10:00:30 -0600 (Wed, 11 Nov 2009)

Log Message

fix regression from r12861 to speed up loop but did not add factor of 10 to counter for expire checking code

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (15427 => 15428)


--- 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;