Bug #336142 - Use a longer timeout for ebuild-ipc, in case the system is
authorZac Medico <zmedico@gentoo.org>
Mon, 13 Sep 2010 02:25:06 +0000 (19:25 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 13 Sep 2010 02:25:06 +0000 (19:25 -0700)
heavily loaded.

bin/ebuild-ipc.py

index 59ff735c91eb6ebed1eac92c124eeb1ad6549ccb..8fe606db67e27fddbb55cc9306ee500240819210 100755 (executable)
@@ -34,7 +34,9 @@ portage._disable_legacy_globals()
 
 class EbuildIpc(object):
 
-       _COMMUNICATE_TIMEOUT_SECONDS = 40
+       # If the system is heavily loaded then the parent process might
+       # be slow to respond, so give it plenty of time (bug #336142).
+       _COMMUNICATE_TIMEOUT_SECONDS = 900 # 15 minutes
        _BUFSIZE = 4096
 
        def __init__(self):