mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Watch before we start.
Linux and macOS are happy to watch after starting. Our Windows support library can't deal with such a case, though. Linux is happy with the other order. I'm about to find out if macOS is. There are likely further Windows issues to deal with.
This commit is contained in:
parent
2205bf0fdd
commit
263755fb26
@ -1181,8 +1181,8 @@ class Uploader(QueueMixin):
|
||||
with action.context():
|
||||
d = DeferredContext(defer.succeed(None))
|
||||
|
||||
d.addCallback(lambda ign: self._notifier.startReading())
|
||||
d.addCallback(lambda ign: self._add_watch())
|
||||
d.addCallback(lambda ign: self._notifier.startReading())
|
||||
d.addCallback(lambda ign: self._count('dirs_monitored'))
|
||||
d.addBoth(self._call_hook, 'started')
|
||||
return d.addActionFinish()
|
||||
|
Loading…
x
Reference in New Issue
Block a user