mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-05 22:14:08 +00:00
Merge pull request #224 from jix/jobserver-poll-fix
jobserver: Only poll non-helper-process jobserver fd when ready to read
This commit is contained in:
commit
544a1cb369
|
@ -287,7 +287,7 @@ class SbyJobClient:
|
|||
def poll_fds(self):
|
||||
if self.helper_process:
|
||||
return [self.response_read_fd]
|
||||
elif self.read_fd is not None:
|
||||
elif self.read_fd is not None and self.has_pending_leases():
|
||||
return [self.read_fd]
|
||||
else:
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue