autoscaling: remove app autoscaling tasks
We are using AWS CloudWatch + ASG alarms to auto-scale our instances now.
@@ -16,19 +16,6 @@ class Config(AppConfig):
from readthedocs.worker import app
app.tasks.register(ArchiveBuilds)
- try:
- from readthedocsext.builds.tasks import ShutdownBuilder, StopBuilder
- app.tasks.register(ShutdownBuilder)
- app.tasks.register(StopBuilder)
- except (ModuleNotFoundError, ImportError):
- log.info('ShutdownBuilder/StopBuilder task could not be imported.')
-
- try:
- from readthedocsext.monitoring.scaling import AutoscaleBuildersTask
- app.tasks.register(AutoscaleBuildersTask)
- except (ModuleNotFoundError, ImportError):
- log.info('AutoscaleBuildersTask task could not be imported.')
-
try:
from readthedocsext.monitoring.metrics.tasks import (
Metrics1mTask,
