mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-22 23:37:25 -05: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:
committed by
Junio C Hamano
parent
bfadbeddd1
commit
7872e05567
Reference in New Issue
Block a user