mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Add a timeout to the qmanager connection.
This commit is contained in:
parent
c58c61be8d
commit
cc977a1400
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239453
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user