aux/socket: patch scheduling bug in socket egg
It's possible for the thread to be interrupted between configuring the timeout and the file descriptor wait. This causes a low-probability 60 second wait until the timeout expires. Now that this is fixed, we can set a normal timeout on the socket once again, so do that. Link: https://github.com/ursetto/socket-egg/pull/7
This commit is contained in:
parent
fa3103ac82
commit
84207df87d
3 changed files with 24 additions and 2 deletions
|
|
@ -7,7 +7,8 @@ _: prevpkgs: {
|
|||
|
||||
socket = preveggs.socket.overrideAttrs (o: {
|
||||
preBuild = null;
|
||||
postPatch = "echo 'touch socket-config' >> build-socket-config";
|
||||
patches = (o.patches or []) ++ [ ./socket.diff ];
|
||||
postPatch = null;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue