Skip to content

Commit 6f8cd74

Browse files
invis-bitflyguybrush
authored andcommitted
misc(exporter): 5 min timeout for modules
1 parent ebe893f commit 6f8cd74

File tree

1 file changed

+1
-1
lines changed
  • backend/pkg/exporter/modules

1 file changed

+1
-1
lines changed

backend/pkg/exporter/modules/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func notifyAllModules(goPool *errgroup.Group, modules []ModuleInterface, f func(
149149
module := module
150150
goPool.Go(func() error {
151151
start := time.Now()
152-
r := services.NewStatusReport(module.GetMonitoringEventId(), constants.Default, constants.Default)
152+
r := services.NewStatusReport(module.GetMonitoringEventId(), 5*time.Minute, constants.Default)
153153
r(constants.Running, nil)
154154
err := f(module)
155155
if err != nil {

0 commit comments

Comments
 (0)