mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 20:00:20 +00:00
Also time out the delete operation
This commit is contained in:
parent
156257bcd8
commit
b9be85bc8c
@ -584,7 +584,7 @@ class FileOperationsHelper(object):
|
|||||||
os.unlink(fname)
|
os.unlink(fname)
|
||||||
|
|
||||||
self._maybe_notify(fname, self._inotify.IN_DELETE)
|
self._maybe_notify(fname, self._inotify.IN_DELETE)
|
||||||
return d
|
return d.addTimeout(self._timeout, reactor)
|
||||||
|
|
||||||
def _maybe_notify(self, fname, mask):
|
def _maybe_notify(self, fname, mask):
|
||||||
if self._fake_inotify:
|
if self._fake_inotify:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user