1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add a timeout to the qmanager connection.

This commit is contained in:
Erwin Lansing 2009-08-13 15:21:20 +00:00
parent c58c61be8d
commit cc977a1400
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239453

View File

@ -440,6 +440,7 @@ class worker(threading.Thread):
# retcode = 0
conn = QManagerClientConn(stderr = sys.stderr)
timeout = 1
try:
(code, vars) = conn.command("release", {'id':pkg.id})
except RequestError, e: