]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
-> decrease the length of time that "check for state change" waits to 500ms
authorKonrad Hammel <konrad@sangoma.com>
Fri, 11 Jun 2010 20:57:25 +0000 (16:57 -0400)
committerMoises Silva <moy@sangoma.com>
Fri, 18 Jun 2010 22:31:53 +0000 (18:31 -0400)
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c

index 85c29f269f31cab6586ad6420e6a2f81c6bf88ae..7852829295ca85886cd61b13466957cd49ccd6a7 100644 (file)
@@ -315,7 +315,7 @@ int check_for_state_change(ftdm_channel_t *ftdmchan)
                 ftdmchan->physical_chan_id);
 #endif
     /* check to see if there are any pending state changes on the channel and give them a sec to happen*/
-    ftdm_wait_for_flag_cleared(ftdmchan, FTDM_CHANNEL_STATE_CHANGE, 5000);
+    ftdm_wait_for_flag_cleared(ftdmchan, FTDM_CHANNEL_STATE_CHANGE, 500);
 
     /* check the flag to confirm it is clear now */
     if (ftdm_test_flag(ftdmchan, FTDM_CHANNEL_STATE_CHANGE)) {