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

Method SetSSELimits

internal/server/server.go:914–917  ·  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

912// SetSSELimits configures global and per-workspace SSE connection limits.
913// A value of 0 means unlimited.
914func (s *Server) SetSSELimits(global, perWorkspace int) {
915 s.sseMaxConnections = global
916 s.sseMaxPerWorkspace = perWorkspace
917}
918
919// SetTrustedProxies configures which direct TCP peers are allowed to set
920// X-Real-IP / X-Forwarded-For on incoming requests. Accepts a comma-

Callers 4

TestSSEPerWorkspaceLimitFunction · 0.80
serveCmdFunction · 0.80

Calls

no outgoing calls