feat(updates): queue an update check on container startup

Fresh installs no longer wait up to 12 hours for the first periodic check.
This commit is contained in:
Herculino Trotta committed 2026-11-02 17:24:28 -03:00
1 parent b10897e64b
commit a5c73ec436
2 files changed
+6

No files matched your search

+3
View File
@@ -17,4 +17,7 @@ touch /tmp/migrations_complete
python manage.py setup_users
python manage.py setup_oauth
# Check for updates on startup instead of waiting for the next periodic run; never block boot on it
python manage.py procrastinate defer check_for_updates || true
exec python manage.py runserver 0.0.0.0:$INTERNAL_PORT
+3
View File
@@ -18,4 +18,7 @@ touch /tmp/migrations_complete
python manage.py setup_users
python manage.py setup_oauth
# Check for updates on startup instead of waiting for the next periodic run; never block boot on it
python manage.py procrastinate defer check_for_updates || true
exec gunicorn WYGIWYH.wsgi:application --bind 0.0.0.0:$INTERNAL_PORT --timeout 600