Pushover startup fix

This commit is contained in:
Jonas Linter
2025-10-16 11:24:20 +02:00
parent d834ec2d4b
commit c07d025873
2 changed files with 47 additions and 5 deletions

View File

@@ -235,10 +235,10 @@ async def lifespan(app: FastAPI):
# Initialize pushover service
pushover_service = create_pushover_service(config)
# Setup logging from config with email monitoring
# Setup logging from config with email and pushover monitoring
# Only primary worker should have the report scheduler running
email_handler, report_scheduler = setup_logging(
config, email_service, loop, enable_scheduler=is_primary
config, email_service, pushover_service, loop, enable_scheduler=is_primary
)
_LOGGER.info("Application startup initiated (primary_worker=%s)", is_primary)