mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix gthread worker
under Python 3.8 and sup exception is ValueError when fd has already been cleared by the system. fix #3029
This commit is contained in:
parent
547f8561d9
commit
86d85cb369
@ -180,6 +180,9 @@ class ThreadWorker(base.Worker):
|
||||
except KeyError:
|
||||
# already removed by the system, continue
|
||||
pass
|
||||
except ValueError:
|
||||
# already removed by the system continue
|
||||
pass
|
||||
|
||||
# close the socket
|
||||
conn.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user