Also time out the delete operation

This commit is contained in:
Jean-Paul Calderone 2019-03-14 09:46:34 -04:00
parent 156257bcd8
commit b9be85bc8c

View File

@ -584,7 +584,7 @@ class FileOperationsHelper(object):
os.unlink(fname)
self._maybe_notify(fname, self._inotify.IN_DELETE)
return d
return d.addTimeout(self._timeout, reactor)
def _maybe_notify(self, fname, mask):
if self._fake_inotify: