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

Method reopen

gunicorn/ctl/handlers.py:430–438  ·  view source on GitHub ↗

Reopen log files (equivalent to SIGUSR1). Returns: Dictionary with status

(self)

Source from the content-addressed store, hash-verified

428 return {"status": "reloading"}
429
430 def reopen(self) -> dict:
431 """
432 Reopen log files (equivalent to SIGUSR1).
433
434 Returns:
435 Dictionary with status
436 """
437 os.kill(self.arbiter.pid, signal.SIGUSR1)
438 return {"status": "reopening"}
439
440 def shutdown(self, mode: str = "graceful") -> dict:
441 """

Callers 2

test_reopenMethod · 0.95
_execute_commandMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_reopenMethod · 0.76