diff --git a/warehouse/router/router.go b/warehouse/router/router.go index ce181dc76c..ea224cef99 100644 --- a/warehouse/router/router.go +++ b/warehouse/router/router.go @@ -721,7 +721,7 @@ func (r *Router) loadReloadableConfig(whName string) { r.config.cronTrackerRetries = r.conf.GetReloadableInt64Var(5, 1, "Warehouse.cronTrackerRetries") r.config.uploadBufferTimeInMin = r.conf.GetReloadableDurationVar(180, time.Minute, "Warehouse.uploadBufferTimeInMin") r.config.syncSchemaFrequency = r.conf.GetDurationVar(12, time.Hour, "Warehouse.syncSchemaFrequency") - r.config.enableSyncSchema = r.conf.GetBoolVar(false, "Warehouse.enableSyncSchema") + r.config.enableSyncSchema = r.conf.GetBoolVar(true, "Warehouse.enableSyncSchema") } func (r *Router) loadStats() { diff --git a/warehouse/schema/schema.go b/warehouse/schema/schema.go index 0bfc42d37d..ecc789fc7a 100644 --- a/warehouse/schema/schema.go +++ b/warehouse/schema/schema.go @@ -101,7 +101,7 @@ func New( stagingFilesSchemaPaginationSize: conf.GetInt("Warehouse.stagingFilesSchemaPaginationSize", 100), enableIDResolution: conf.GetBool("Warehouse.enableIDResolution", false), } - if conf.GetBoolVar(false, "Warehouse.enableSyncSchema") { + if conf.GetBoolVar(true, "Warehouse.enableSyncSchema") { schemaHandler, err := newSchemaV2(ctx, schemaV1, warehouse, log) if err != nil { return nil, fmt.Errorf("creating schema handler: %w", err)