Add wasabi-derived in list of dcs

This commit is contained in:
Neeraj Gupta 2024-05-15 17:50:05 +05:30
parent 7eabea3884
commit 851f914ef8

View file

@ -73,7 +73,7 @@ var (
dcWasabiEuropeCentralDeprecated string = "wasabi-eu-central-2"
dcWasabiEuropeCentral_v3 string = "wasabi-eu-central-2-v3"
dcSCWEuropeFrance_v3 string = "scw-eu-fr-v3"
dcWasabiEuropeCentral string = "wasabi-eu-central-2-embeddings"
dcWasabiEuropeCentralDerived string = "wasabi-eu-central-2-derived"
)
// Number of days that the wasabi bucket is configured to retain objects.
@ -91,7 +91,7 @@ func NewS3Config() *S3Config {
func (config *S3Config) initialize() {
dcs := [6]string{
dcB2EuropeCentral, dcSCWEuropeFranceLockedDeprecated, dcWasabiEuropeCentralDeprecated,
dcWasabiEuropeCentral_v3, dcSCWEuropeFrance_v3, dcWasabiEuropeCentral}
dcWasabiEuropeCentral_v3, dcSCWEuropeFrance_v3, dcWasabiEuropeCentralDerived}
config.hotDC = dcB2EuropeCentral
config.secondaryHotDC = dcWasabiEuropeCentral_v3