mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-13 12:23:44 +01:00
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:
1 parent
b10897e64b
commit
a5c73ec436
2 files changed
+6
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user