Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ close
Method
close
gunicorn/workers/gthread.py:123–128 ·
view source on GitHub ↗
(self, graceful=False)
Source
from the content-addressed store, hash-verified
121
sel.close()
122
123
def
close(self, graceful=False):
124
if
graceful:
125
self.sock.setblocking(True)
126
util.close_graceful(self.sock)
127
else
:
128
util.close(self.sock)
129
130
131
class
PollableMethodQueue:
Callers
15
test_tconn_close
Method · 0.95
test_tconn_close_is_safe
Method · 0.95
_shutdown
Method · 0.45
_cleanup
Method · 0.45
handle
Method · 0.45
handle_request
Method · 0.45
wait_for_data
Method · 0.45
close
Method · 0.45
murder_keepalived
Method · 0.45
murder_pending
Method · 0.45
run
Method · 0.45
finish_request
Method · 0.45
Calls
1
setblocking
Method · 0.45
Tested by
2
test_tconn_close
Method · 0.76
test_tconn_close_is_safe
Method · 0.76