Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
baotiao committed Feb 6, 2015
1 parent 4ec1c71 commit aec9ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tick_epoll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void TickEpoll::TickDelEvent(int fd)
int TickEpoll::TickPoll()
{
int retval, numevents = 0;
retval = epoll_wait(epfd_, events_, TICK_MAX_CLIENTS, timeout_);
retval = epoll_wait(epfd_, events_, TICK_MAX_CLIENTS, -1);
if (retval > 0) {
numevents = retval;
for (int i = 0; i < numevents; i++) {
Expand Down

0 comments on commit aec9ce9

Please sign in to comment.