Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
chore: update default timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
markWarr authored and cgsunkel committed Jun 25, 2024
1 parent ae6719b commit b677549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .copilot/image_build_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export ENQUIRY_STATUS_UPDATE_INTERVAL_DAYS="1"
export ENQUIRY_STATUS_SHOULD_UPDATE="0"
export REDIS_BASE_URL="redis://redis:6379"
export CELERY_TIMEZONE="UTC"
#export CELERY_TIMEZONE="Europe/london"

# Staff SSO/OAuth2 settings
export FEATURE_ENFORCE_STAFF_SSO_ENABLED="1"
Expand Down
2 changes: 1 addition & 1 deletion app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
encoded_query_args = urlencode(redis_url_args)
BROKER_URL = f'{REDIS_BASE_URL}/{REDIS_CELERY_DB}?{encoded_query_args}'
CELERY_RESULT_BACKEND = BROKER_URL
CELERY_TIMEZONE = env('CELERY_TIMEZONE', default='Europe/london')
CELERY_TIMEZONE = env('CELERY_TIMEZONE', default='UTC')
ENQUIRY_STATUS_UPDATE_INTERVAL_DAYS = env.int('ENQUIRY_STATUS_UPDATE_INTERVAL_DAYS', default=1)
ENQUIRY_STATUS_SHOULD_UPDATE = env.bool('ENQUIRY_STATUS_SHOULD_UPDATE', True)

Expand Down

0 comments on commit b677549

Please sign in to comment.