mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
git-daemon poll() spinning out of control
With the '0' timeout given to poll, it returns instantly without any events on my system, causing git-daemon to consume all the CPU time. Use -1 as the timeout so poll() only returns in case of EINTR or actually events being available. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
bfadbeddd1
commit
7872e05567
Loading…
Reference in a new issue