We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d35d7 commit 2a0433eCopy full SHA for 2a0433e
gunicorn/workers/workertmp.py
@@ -38,7 +38,7 @@ def __init__(self, cfg):
38
39
def notify(self):
40
new_time = time.monotonic()
41
- os.utime(self._tmp.name, (new_time, new_time))
+ os.utime(self._tmp.fileno(), (new_time, new_time))
42
43
def last_update(self):
44
return os.fstat(self._tmp.fileno()).st_mtime
0 commit comments