File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -752,18 +752,22 @@ def SOCIAL_AUTH_DEFAULT_USERNAME() -> str:
752752# An enum is better because there shouldn't be multiple "modes".
753753SENTRY_MODE = SentryMode .SELF_HOSTED
754754
755- # If this instance is a region silo, which region is it running in?
756- SENTRY_REGION = os .environ .get ("SENTRY_REGION" , None )
755+ # If this instance is a cell silo, which cell is it running in?
756+ SENTRY_LOCAL_CELL = os .environ .get ("SENTRY_REGION" , None )
757757
758758# Returns the customer single tenant ID.
759759CUSTOMER_ID = os .environ .get ("CUSTOMER_ID" , None )
760760
761761# List of the available cells (e.g. "us1", "us2", "de1")
762- SENTRY_REGION_CONFIG : list [CellConfig ] = []
762+ SENTRY_CELLS : list [CellConfig ] = []
763763
764764# Mapping of localities (e.g. "us", "de") to their constituent cells (e.g. "us1", "us2")
765765SENTRY_LOCALITIES : list [LocalityConfig ] = []
766766
767+ # TODO(cells): Superceded by SENTRY_LOCAL_CELL and SENTRY_CELLS. Remove once migration is complete.
768+ SENTRY_REGION = os .environ .get ("SENTRY_REGION" , None )
769+ SENTRY_REGION_CONFIG : list [CellConfig ] = []
770+
767771# Shared secret used to sign cross-region RPC requests.
768772RPC_SHARED_SECRET : list [str ] | None = None
769773
You can’t perform that action at this time.
0 commit comments