summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-12 19:25:06 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-12 19:25:06 -0700
commita96ae43f6e78c1a8629805a29d188f50196d19ed (patch)
tree50296ba83a3a5a52d368a97250ca23237f1c2bba
parentcdf1ad214e335eb1c49d3993a68a16ec90475746 (diff)
downloadportage-a96ae43f6e78c1a8629805a29d188f50196d19ed.tar.gz
portage-a96ae43f6e78c1a8629805a29d188f50196d19ed.tar.bz2
portage-a96ae43f6e78c1a8629805a29d188f50196d19ed.zip
Bug #336142 - Use a longer timeout for ebuild-ipc, in case the system is
heavily loaded.
-rwxr-xr-xbin/ebuild-ipc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index 59ff735c9..8fe606db6 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -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):