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

Method getUser

controlplane/admin/api.go:1064–1073  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

1062 if _, ok := fields["default_worker_ttl"]; ok {
1063 merged.DefaultWorkerTTL = updates.DefaultWorkerTTL
1064 }
1065 if _, ok := fields["default_worker_min_hot_idle"]; ok {
1066 merged.DefaultWorkerMinHotIdle = updates.DefaultWorkerMinHotIdle
1067 }
1068 // Hot-idle pool caps: present-in-payload wins, including an explicit
1069 // 0 / "" which clears the cap back to unlimited.
1070 if _, ok := fields["max_hot_idle_workers"]; ok {
1071 merged.MaxHotIdleWorkers = updates.MaxHotIdleWorkers
1072 }
1073 if _, ok := fields["max_hot_idle_cpu"]; ok {
1074 merged.MaxHotIdleCPU = updates.MaxHotIdleCPU
1075 }
1076 if _, ok := fields["max_hot_idle_memory"]; ok {

Callers

nothing calls this directly

Calls 1

GetUserMethod · 0.65

Tested by

no test coverage detected