Skip to content

Commit

Permalink
misc(exporter): 5 min timeout for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
invis-bitfly committed Jan 22, 2025
1 parent ebe893f commit e7e4b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/exporter/modules/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func notifyAllModules(goPool *errgroup.Group, modules []ModuleInterface, f func(
module := module
goPool.Go(func() error {
start := time.Now()
r := services.NewStatusReport(module.GetMonitoringEventId(), constants.Default, constants.Default)
r := services.NewStatusReport(module.GetMonitoringEventId(), 5*time.Minute, constants.Default)
r(constants.Running, nil)
err := f(module)
if err != nil {
Expand Down

0 comments on commit e7e4b5d

Please sign in to comment.