Skip to content
Commit 1e01a744 authored by Theodore Dubois's avatar Theodore Dubois Committed by Mike Frysinger
Browse files

Port _FileDescriptorStreamsNonBlocking to use poll()

select() has a limit of FD_SETSIZE file descriptors. If you run repo
sync -j500 you'll pretty quickly hit this limit and get "file descriptor
out of range for select" errors. poll() has no such limit.

Change-Id: I21f350e472bda1db03dcbcc437645c23dbc7a901
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/248852


Reviewed-by: default avatarMike Frysinger <vapier@google.com>
Tested-by: default avatarTheodore Dubois <tbodt@google.com>
parent 7c321f1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment