Skip to content

Commit a370b0e

Browse files
committed
Fix WSGI init and bump version
1 parent 8c64d7e commit a370b0e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
load_dotenv()
8686

8787
# Version
88-
VERSION = "0.4.15"
88+
VERSION = "0.4.16"
8989

9090
HOST_METRICS_CACHE_TTL_SECONDS = 20
9191
CONTAINER_STATS_CACHE_TTL_SECONDS = 10

wsgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
# Add app directory to path
99
sys.path.insert(0, os.path.dirname(__file__))
1010

11-
from app.main import app, init_db, load_schedules, configure_update_check_schedule
11+
from app.main import app, init_db, load_schedules, update_service
1212

1313
# Initialize database and schedules on startup
1414
if __name__ != '__main__':
1515
# Only initialize when running under WSGI server, not when imported
1616
try:
1717
init_db()
1818
load_schedules()
19-
configure_update_check_schedule()
19+
update_service.configure_update_check_schedule()
2020
except Exception as e:
2121
print(f"Error during initialization: {e}", file=sys.stderr)
2222
raise

0 commit comments

Comments
 (0)