Skip to content

Commit e5ca33a

Browse files
committed
Logging the PID.
1 parent 4fbccb5 commit e5ca33a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server.py

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def _estimate_with_deadline(self, product, deadline=600):
160160
p = multiprocessing.Process(target=self._estimate_outside_process, args=(product, q))
161161
try:
162162
p.start()
163+
self.logging.info(f"🍴 Forked {p.pid} to compute estimation")
163164
p.join(deadline)
164165
if p.is_alive():
165166
raise Exception(f"estimation process timed out after {deadline} seconds")

0 commit comments

Comments
 (0)