mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
9efc687d7a
commit
aa2a793e28
6 files changed
+117
-152
No files matched your search
+1
-3
@@ -204,9 +204,7 @@ SWITCH_DECLARE(int) switch_socket_waitfor(switch_pollfd_t *poll, int ms)
|
||||
{
|
||||
int nsds = 0;
|
||||
|
||||
if (switch_poll(poll, 1, &nsds, ms) != SWITCH_STATUS_SUCCESS) {
|
||||
return -1;
|
||||
}
|
||||
switch_poll(poll, 1, &nsds, ms);
|
||||
|
||||
return nsds;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user