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

Method notify

gunicorn/workers/workertmp.py:42–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 raise
41
42 def notify(self):
43 new_time = time.monotonic()
44 os.utime(self._tmp.fileno(), (new_time, new_time))
45
46 def last_update(self):
47 return os.fstat(self._tmp.fileno()).st_mtime

Calls 1

filenoMethod · 0.45