Merge pull request #85 from dillaman/master
Collect zombie child processes within server loop
This commit is contained in:
commit
568fd109f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user