This commit is contained in:
dillaman 2013-06-28 12:23:52 -07:00
commit 0429bfd60e
1 changed files with 2 additions and 1 deletions

View File

@ -767,7 +767,8 @@ Sec-WebSocket-Accept: %s\r
pid = err = 0
child_count = 0
if multiprocessing and self.idle_timeout:
if multiprocessing:
# Collect zombie child processes
child_count = len(multiprocessing.active_children())
time_elapsed = time.time() - self.launch_time