18 lines
510 B
Python
18 lines
510 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class SchedulerConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "infrasynth.scheduler"
|
|
label = "infrasynth_scheduler"
|
|
|
|
def ready(self):
|
|
from infrasynth.features.registry import FeatureRegistry
|
|
|
|
FeatureRegistry.register(
|
|
"scheduler",
|
|
name="Scheduler",
|
|
description="Task scheduling, execution, and monitoring",
|
|
default=True,
|
|
category="system",
|
|
)
|