MCPcopy
hub / github.com/celery/celery / set_process_title

Method set_process_title

celery/apps/beat.py:149–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 )
148
149 def set_process_title(self) -> None:
150 arg_start = 'manage' in sys.argv[0] and 2 or 1
151 platforms.set_process_title(
152 'celery beat', info=' '.join(sys.argv[arg_start:]),
153 )
154
155 def install_sync_handler(self, service: beat.Service) -> None:
156 """Install a `SIGTERM` + `SIGINT` handler saving the schedule."""

Callers 2

runMethod · 0.95
startMethod · 0.80

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected