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

Function set_dirty_socket_path

gunicorn/dirty/client.py:657–664  ·  view source on GitHub ↗

Set the global dirty socket path (called during initialization).

(path)

Source from the content-addressed store, hash-verified

655
656
657def set_dirty_socket_path(path):
658 """Set the global dirty socket path (called during initialization)."""
659 global _dirty_socket_path # pylint: disable=global-statement
660 _dirty_socket_path = path
661
662 # Also set the stash socket path (uses same arbiter socket)
663 from .stash import set_stash_socket_path
664 set_stash_socket_path(path)
665
666
667def get_dirty_socket_path():

Calls 1

set_stash_socket_pathFunction · 0.85