Skip to content

Commit

Permalink
requestChan is buffered
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 29, 2024
1 parent 88c6f0b commit 754cbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/sessions.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func newSessionContext(agentID string, sessionID string, hostname string, versio
}
session := &AgentContext{
AgentKey: key,
requestChan: make(chan serviceRequest),
requestChan: make(chan serviceRequest, 100),
LastUse: now,
ConnectedAt: now,
Hostname: hostname,
Expand Down

0 comments on commit 754cbf1

Please sign in to comment.