mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Reverting SocketComm change tuning I/O behaviour.
Not sure that's right.
This commit is contained in:
parent
d0b68771ef
commit
c92dc7e6af
1 changed files with 2 additions and 0 deletions
|
@ -3399,8 +3399,10 @@ void SocketComm::Run()
|
|||
small_timeout.tv_usec =
|
||||
io->CanWrite() || io->CanRead() ? 1 : 10;
|
||||
|
||||
#if 0
|
||||
if ( ! io->CanWrite() )
|
||||
usleep(10);
|
||||
#endif
|
||||
|
||||
int a = select(max_fd + 1, &fd_read, &fd_write, &fd_except,
|
||||
&small_timeout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue