Missing notify in scheduler sleep/wake callback

Sun, 04 Feb 2018 02:19:26 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 04 Feb 2018 02:19:26 +0000
changeset 103
32f2154ef25e
parent 102
0d43cd568f3c
child 104
d33e2d7dbeb1

Missing notify in scheduler sleep/wake callback

borgend/scheduler.py file | annotate | diff | comparison | revisions
--- a/borgend/scheduler.py	Sun Feb 04 01:36:59 2018 +0000
+++ b/borgend/scheduler.py	Sun Feb 04 02:19:26 2018 +0000
@@ -187,6 +187,7 @@
         logger.debug("Rescheduling events after sleep/wakeup")
         with self._cond:
             self._resort()
+            self._cond.notify()
 
     # It is required to have acquired the lock on ev.cond on entry
     def _wait(self, ev):

mercurial