Skip to content

Commit 2708e77

Browse files
committed
Update settings.BQ_LOCATION
The EU region is actually a multi-region umbrella, and since 1st February we have been charged for transferring data between regions within the umbrella. We do not need multi-region redundancy and so do not need to incur this charge. See #5472 for more.
1 parent b85cf59 commit 2708e77

File tree

1 file changed

+2
-1
lines changed
  • openprescribing/openprescribing/settings

1 file changed

+2
-1
lines changed

openprescribing/openprescribing/settings/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@
317317

318318
# Other BQ settings
319319
BQ_DEFAULT_TABLE_EXPIRATION_MS = None
320-
BQ_LOCATION = "EU"
320+
# This must match the location of the ebmdatalab bucket in the ebmdatalab project (see #5472)
321+
BQ_LOCATION = "europe-west2"
321322

322323
# Use django-anymail through mailgun for sending emails
323324
EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend"

0 commit comments

Comments
 (0)