Skip to content

Commit

Permalink
chore: toggle flag for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhar-rudder committed Jan 9, 2025
1 parent 50d7d1f commit 9ef0b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion warehouse/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion warehouse/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ef0b40

Please sign in to comment.