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

Method reload

gunicorn/ctl/handlers.py:419–428  ·  view source on GitHub ↗

Trigger graceful reload (equivalent to SIGHUP). Returns: Dictionary with status

(self)

Source from the content-addressed store, hash-verified

417 }
418
419 def reload(self) -> dict:
420 """
421 Trigger graceful reload (equivalent to SIGHUP).
422
423 Returns:
424 Dictionary with status
425 """
426 # Send HUP to self to trigger reload
427 os.kill(self.arbiter.pid, signal.SIGHUP)
428 return {"status": "reloading"}
429
430 def reopen(self) -> dict:
431 """

Callers 2

test_reloadMethod · 0.95
_execute_commandMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_reloadMethod · 0.76