Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
adityathebe committed Jul 26, 2023
1 parent 06057af commit fa40784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/jobs/canary/sync_upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
var UpstreamConf upstream.UpstreamConfig

var tablesToReconcile = []string{
"canaries",
"checks",
"check_statuses",
}

// SyncWithUpstream coordinates with upstream and pushes any resource
Expand All @@ -31,7 +31,7 @@ func SyncWithUpstream() {
_ = db.PersistJobHistory(jobHistory.Start())
defer func() { _ = db.PersistJobHistory(jobHistory.End()) }()

syncer := upstream.NewUpstreamSyncer(UpstreamConf)
syncer := upstream.NewUpstreamSyncer(UpstreamConf, 500)
for _, table := range tablesToReconcile {
if err := syncer.SyncTableWithUpstream(ctx, table); err != nil {
jobHistory.AddError(err.Error())
Expand Down

0 comments on commit fa40784

Please sign in to comment.