FS-9568 [avmd] Fail session creation if can't be started properly

This commit is contained in:
Piotr Gregor
2016-10-01 21:15:04 +01:00
parent 17ab107ed7
commit 184368d8f4
2 changed files with 97 additions and 42 deletions

View File

@@ -53,7 +53,7 @@ if ($con->connected()) {
while($con->connected() && ($idx < $thread_n)) {
call_once($dest, $callerid, $idx);
$idx++;
Time::HiRes::sleep(0.15); # avoid switch_core_session.c:2265 Throttle Error! 33, switch_time.c:1227 Over Session Rate of 30!
Time::HiRes::sleep(0.11); # avoid switch_core_session.c:2265 Throttle Error! 33, switch_time.c:1227 Over Session Rate of 30!
}
print "Disconnected.\n\n";