|
@@ -18,7 +18,7 @@ from rq.worker import StopRequested
|
18
|
18
|
from tracim.lib.base import logger
|
19
|
19
|
from tracim.lib.exceptions import AlreadyRunningDaemon
|
20
|
20
|
|
21
|
|
-from tracim.tracim.lib.utils import get_rq_queue
|
|
21
|
+from tracim.lib.utils import get_rq_queue
|
22
|
22
|
|
23
|
23
|
|
24
|
24
|
class DaemonsManager(object):
|
|
@@ -163,7 +163,7 @@ class MailSenderDaemon(Daemon):
|
163
|
163
|
pass
|
164
|
164
|
|
165
|
165
|
def stop(self) -> None:
|
166
|
|
- # When _stop_requested at False, tracim.tracim.lib.daemons.RQWorker
|
|
166
|
+ # When _stop_requested at False, tracim.lib.daemons.RQWorker
|
167
|
167
|
# will raise StopRequested exception in worker thread after receive a
|
168
|
168
|
# job.
|
169
|
169
|
self.worker._stop_requested = True
|