We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5e03f2 + 0ae96e9 commit 44b2d7dCopy full SHA for 44b2d7d
readthedocs/builds/apps.py
@@ -17,10 +17,11 @@ def ready(self):
17
app.tasks.register(ArchiveBuilds)
18
19
try:
20
- from readthedocsext.builds.tasks import ShutdownBuilder
+ from readthedocsext.builds.tasks import ShutdownBuilder, StopBuilder
21
app.tasks.register(ShutdownBuilder)
22
+ app.tasks.register(StopBuilder)
23
except (ModuleNotFoundError, ImportError):
- log.info('ShutdownBuilder task could not be imported.')
24
+ log.info('ShutdownBuilder/StopBuilder task could not be imported.')
25
26
27
from readthedocsext.monitoring.scaling import AutoscaleBuildersTask
0 commit comments