MCPcopy
hub / github.com/benoitc/gunicorn / close

Method close

gunicorn/dirty/app.py:131–137  ·  view source on GitHub ↗

Cleanup resources. Called when the dirty worker is shutting down. Use this to release resources like database connections, unload models, etc.

(self)

Source from the content-addressed store, hash-verified

129 return method(*args, **kwargs)
130
131 def close(self):
132 """
133 Cleanup resources.
134
135 Called when the dirty worker is shutting down. Use this to
136 release resources like database connections, unload models, etc.
137 """
138
139
140def parse_dirty_app_spec(spec):

Callers 8

_shutdownMethod · 0.45
handle_clientMethod · 0.45
_shutdownMethod · 0.45
handle_connectionMethod · 0.45
_cleanupMethod · 0.45

Calls

no outgoing calls

Tested by 1