MCPcopy Create free account
hub / github.com/PostHog/duckgres / Handle

Method Handle

cmd/cache-proxy/proxy_test.go:41–46  ·  view source on GitHub ↗
(_ context.Context, r slog.Record)

Source from the content-addressed store, hash-verified

39}
40
41func (h *retryLogSignalHandler) Handle(_ context.Context, r slog.Record) error {
42 if r.Message == "Origin fetch failed with retriable error, retrying." {
43 h.once.Do(func() { close(h.ch) })
44 }
45 return nil
46}
47
48func (h *retryLogSignalHandler) WithAttrs([]slog.Attr) slog.Handler {
49 return h

Callers

nothing calls this directly

Calls 1

DoMethod · 0.80

Tested by

no test coverage detected