docs: start architure file
This commit is contained in:
parent
68f9227436
commit
90d83bc5d4
2 changed files with 59 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ void event_loop_run(event_loop *el, int port) {
|
|||
|
||||
// poll for active fds
|
||||
// the timeout argument doesn't matter here
|
||||
int rv = poll(poll_args, (nfds_t)poll_args_count, 1000);
|
||||
int rv = poll(poll_args, (nfds_t)poll_args_count, 0);
|
||||
|
||||
if (rv < 0) {
|
||||
critical(1, "Poll failed, errno: %i", errno);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue