From 1be3ff15936ff9878eafe498ca279c61d0bf1194 Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Sun, 11 Jul 2021 12:11:39 -0400 Subject: [PATCH] Revert "Merge pull request #3381 from jumpeiMano/set-sync-timeout" This reverts commit cf97726492f4b2d9585ded3bd83823ba4e65b272, reversing changes made to 5777baa0c5681565eb3a615a20a8a94961394fb0. --- pkg/daemon/sync.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/daemon/sync.go b/pkg/daemon/sync.go index 5d79c04fc4..6807a0edde 100644 --- a/pkg/daemon/sync.go +++ b/pkg/daemon/sync.go @@ -45,9 +45,6 @@ type changeSet struct { // Sync starts the synchronization of the cluster with git. func (d *Daemon) Sync(ctx context.Context, started time.Time, newRevision string, rat ratchet) error { - ctx, cancel := context.WithTimeout(ctx, d.SyncTimeout) - defer cancel() - // Load last-synced resources for comparison lastResources, err := d.getLastResources(ctx, rat) if err != nil {