All checks were successful
Build and Deploy LTY / build-and-deploy (push) Successful in 29m50s
- Update apps, consumers, and serializers - Add scheduler and tasks modules Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
438 B
Python
17 lines
438 B
Python
from django.apps import AppConfig
|
|
import logging
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class DeviceInteractionConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "device_interaction"
|
|
|
|
def ready(self):
|
|
from .scheduler import start
|
|
try:
|
|
start()
|
|
except Exception as e:
|
|
logger.error(f"Error starting device online check scheduler: {e}")
|