fix(gotenberg): retry pattern matches aborted by a process pause

This commit is contained in:
Julien Neuhart
2026-09-16 21:23:43 +02:00
parent 2f9020455a
commit 70783a01c6
7 changed files with 187 additions and 10 deletions

View File

@@ -206,7 +206,7 @@ func listenForEventRequestPaused(ctx context.Context, logger *slog.Logger, optio
}
matchStart := time.Now()
ok, err := header.Scope.MatchString(e.Request.URL)
ok, err := gotenberg.MatchPattern(header.Scope, e.Request.URL)
budget.consume(time.Since(matchStart))
switch {