mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Update arbiter.py
This commit is contained in:
parent
3f9eace246
commit
6c3d283363
@ -565,6 +565,10 @@ class Arbiter(object):
|
||||
self.WORKERS[pid] = worker
|
||||
return pid
|
||||
|
||||
# Do not inherit the temporary files of other workers
|
||||
for sibling in self.WORKERS.values():
|
||||
sibling.tmp.close()
|
||||
|
||||
# Process Child
|
||||
worker_pid = os.getpid()
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user