Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Revert "Merge pull request #3381 from jumpeiMano/set-sync-timeout"
Browse files Browse the repository at this point in the history
This reverts commit cf97726, reversing
changes made to 5777baa.
  • Loading branch information
Kingdon Barrett committed Jul 11, 2021
1 parent 01f0635 commit 1be3ff1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/daemon/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1be3ff1

Please sign in to comment.