Skip to content

Commit 645093d

Browse files
alexgarelzond
authored and
zond
committed
fix: fix typo in server.py
1 parent 1398292 commit 645093d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _estimate_with_deadline(self, product, deadline=600):
164164
p.start()
165165
self.logging.info(f"🍴 Forked {p.pid} to compute estimation")
166166
try:
167-
results = q.get(block=True, deadline)
167+
results = q.get(block=True, timeout=deadline)
168168
if results[1]:
169169
raise Exception(f"estimation process got exception: {results[1]}")
170170
return results[0]

0 commit comments

Comments
 (0)