MCPcopy Create free account
hub / github.com/celery/celery / pidfile

Method pidfile

celery/apps/multi.py:264–267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262
263 @cached_property
264 def pidfile(self):
265 # The worker formats the expanded argv once more before creating its pidfile.
266 r = node_format(self.expander(self.getopt('--pidfile', '-p')), self.name)
267 return os.path.expanduser(r) if isinstance(r, str) else r
268
269 @cached_property
270 def logfile(self):

Callers

nothing calls this directly

Calls 2

getoptMethod · 0.95
node_formatFunction · 0.90

Tested by

no test coverage detected