summaryrefslogtreecommitdiff
path: root/zuul/driver/timer/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/driver/timer/__init__.py')
-rw-r--r--zuul/driver/timer/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/driver/timer/__init__.py b/zuul/driver/timer/__init__.py
index 6eec5da7c..f415c6012 100644
--- a/zuul/driver/timer/__init__.py
+++ b/zuul/driver/timer/__init__.py
@@ -80,6 +80,8 @@ class TimerDriver(Driver, TriggerInterface):
def reconfigure(self, tenant):
self._removeJobs(tenant)
+ if self.stopped:
+ return
if not self.apsched:
# Handle possible reuse of the driver without connection objects.
self.apsched = BackgroundScheduler()