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

Struct mockRefreshExecer

server/server_test.go:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34// TestDefaultControlPlaneIdleTimeout pins the control-plane idle-timeout
35// default. The value is a product decision, not an implementation detail: it
36// decides whether a client that pauses between statements keeps its connection.
37//
38// At 60s it did not. A batch client spreading its DAG over parallel
39// connections idles one whenever a thread waits on work elsewhere, so the
40// control plane closed it and the client reported a lost connection on its
41// next statement. A client cannot safely replay a write that may already have
42// committed, so that surfaced as a failed run rather than a reconnect.
43//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected