nixpkgs-suyu/pkgs/development/tools/misc/distcc/20-minute-io-timeout.patch
Peter Simons 28ef44c86a pkgs/development/tools/misc/distcc: patch distcc to use a 20 minute timeout for I/O
After having established the connection to the distcc server, time out after 20
minutes of inactivity -- rather than 5 minutes, which is too quick to build
large C++ files with complex template machinery.

svn path=/nixpkgs/trunk/; revision=19600
2010-01-21 15:40:48 +00:00

12 lines
444 B
Diff

diff -ubr distcc-3.1-orig/src/io.c distcc-3.1-patched/src/io.c
--- distcc-3.1-orig/src/io.c 2008-12-02 22:50:25.000000000 +0100
+++ distcc-3.1-patched/src/io.c 2010-01-07 15:07:18.000000000 +0100
@@ -64,7 +64,7 @@
/** Timeout for all IO other than opening connections. Much longer, because
* compiling files can take a long time. **/
-const int dcc_io_timeout = 300; /* seconds */
+const int dcc_io_timeout = 1200; /* seconds */
/**