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

Method ReloadSnapshot

controlplane/admin/live.go:159–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 // worker id on THIS replica (0 or 1). The handler fans it out so a cancel
158 // hits whichever replica owns the session — pid can't be used for the
159 // fan-out because pids collide across CPs.
160 KillSessionByWorkerID(workerID int) int
161 // KillUserSessions tears down every active session for (orgID, username) owned
162 // by THIS control-plane replica and returns the count destroyed. The handler

Callers 1

registerLiveAPIFunction · 0.65

Implementers 2

ConfigStorecontrolplane/configstore/store.go
fakeUserAdmincontrolplane/admin/live_aggregate_test

Calls

no outgoing calls

Tested by

no test coverage detected