MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / SetSSELimits

Method SetSSELimits

internal/server/server.go:948–951  ·  view source on GitHub ↗

SetSSELimits configures global and per-workspace SSE connection limits. A value of 0 means unlimited.

(global, perWorkspace int)

Source from the content-addressed store, hash-verified

946// SetSSELimits configures global and per-workspace SSE connection limits.
947// A value of 0 means unlimited.
948func (s *Server) SetSSELimits(global, perWorkspace int) {
949 s.sseMaxConnections = global
950 s.sseMaxPerWorkspace = perWorkspace
951}
952
953// SetTrustedProxies configures which direct TCP peers are allowed to set
954// X-Real-IP / X-Forwarded-For on incoming requests. Accepts a comma-

Callers 4

TestSSEPerWorkspaceLimitFunction · 0.80
serveCmdFunction · 0.80

Calls

no outgoing calls