Skip to content

Commit

Permalink
Avoid 'Connection refused' when using multithreaded gthread worker wi…
Browse files Browse the repository at this point in the history
…th keep-alive (#1699)

Fixes #1698
  • Loading branch information
ddzialak authored and benoitc committed Mar 1, 2018
1 parent 06e252f commit 9c8695b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gunicorn/workers/gthread.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ def set_timeout(self):
def close(self):
util.close(self.sock)

def __lt__(self, other):
return self.timeout < other.timeout

__cmp__ = __lt__


class ThreadWorker(base.Worker):

Expand Down

0 comments on commit 9c8695b

Please sign in to comment.