Skip to content

Commit

Permalink
Non-blocking garbage collector
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Aug 19, 2021
1 parent 6430a73 commit 02fccb3
Show file tree
Hide file tree
Showing 11 changed files with 330 additions and 258 deletions.
2 changes: 1 addition & 1 deletion src/libstore/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ void LocalDerivationGoal::startDaemon()
AutoCloseFD remote = accept(daemonSocket.get(),
(struct sockaddr *) &remoteAddr, &remoteAddrLen);
if (!remote) {
if (errno == EINTR) continue;
if (errno == EINTR || errno == EAGAIN) continue;
if (errno == EINVAL) break;
throw SysError("accepting connection");
}
Expand Down
Loading

0 comments on commit 02fccb3

Please sign in to comment.