Skip to content

Commit

Permalink
fix: bump memlimit check to 30s interval (#14939)
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall authored Dec 13, 2024
1 parent a12becd commit 23d9531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/beatcmd/beat.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func (b *Beat) Run(ctx context.Context) error {
})

slogger := slog.New(zapslog.NewHandler(logger.Core()))
if err := adjustMemlimit(1*time.Second, slogger); err != nil {
if err := adjustMemlimit(30*time.Second, slogger); err != nil {
return err
}

Expand Down

0 comments on commit 23d9531

Please sign in to comment.