Skip to content

Commit

Permalink
fix: increase timeout for informer on loki.source.podlogs (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
elburnetto-intapp authored Oct 9, 2024
1 parent 7e8c153 commit ee9034b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Main (unreleased)

- `pyroscope.scrape` no longer tries to scrape endpoints which are not active targets anymore. (@wildum @mattdurham @dehaansa @ptodev)

- Fixed a bug with `loki.source.podlogs` not starting in large clusters due to short informer sync timeout. (@elburnetto-intapp)

### Other changes

- Small fix in UI stylesheet to fit more content into visible table area. (@defanator)
Expand Down
2 changes: 1 addition & 1 deletion internal/component/loki/source/podlogs/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type controller struct {
}

// Generous timeout period for configuring all informers
const informerSyncTimeout = 10 * time.Second
const informerSyncTimeout = 10 * time.Minute

// newController creates a new, unstarted controller. The controller will
// request a reconcile when the state of Kubernetes changes.
Expand Down

0 comments on commit ee9034b

Please sign in to comment.