mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Avoid 'Connection refused' when using multithreaded gthread worker with keep-alive (#1699)
Fixes #1698
This commit is contained in:
parent
06e252f23e
commit
9c8695b04f
@ -74,11 +74,6 @@ class TConn(object):
|
||||
def close(self):
|
||||
util.close(self.sock)
|
||||
|
||||
def __lt__(self, other):
|
||||
return self.timeout < other.timeout
|
||||
|
||||
__cmp__ = __lt__
|
||||
|
||||
|
||||
class ThreadWorker(base.Worker):
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user