Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
Callers
2
test_notify_updates_tmp_mtime
Method · 0.95
test_worker_tmp_file_can_be_monitored
Method · 0.95
Calls
1
fileno
Method · 0.45
Tested by
2
test_notify_updates_tmp_mtime
Method · 0.76
test_worker_tmp_file_can_be_monitored
Method · 0.76