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

Method PingContext

server/flightclient/flight_executor.go:300–307  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

298 // explicitly, then wait in case DoGet consumed it and is still unwinding.
299 _ = e.releaseQueryHandle(ticket)
300 _ = e.waitForSessionIdle()
301 return nil, fmt.Errorf("flight doget: %w", err)
302 }
303
304 schema, err := flight.DeserializeSchema(info.Schema, e.alloc)
305 if err != nil {
306 cancel()
307 reader.Release()
308 _ = e.waitForSessionIdle()
309 return nil, fmt.Errorf("flight deserialize schema: %w", err)
310 }

Callers

nothing calls this directly

Calls 2

QueryContextMethod · 0.95
CloseMethod · 0.65

Tested by

no test coverage detected