We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6b19d commit 78f9ca2Copy full SHA for 78f9ca2
proxy/proxy.go
@@ -36,9 +36,9 @@ func NewProxyServer() (*ProxyServer, error) {
36
ps := &ProxyServer{
37
runtimeEndpoint: os.Getenv("AWS_LAMBDA_RUNTIME_API"),
38
port: port,
39
- eventsChannel: make(chan *http.Response),
40
- lambdaResponseChannel: make(chan *http.Request),
41
- RecordsChannel: make(chan firetail.Record),
+ eventsChannel: make(chan *http.Response, 1),
+ lambdaResponseChannel: make(chan *http.Request, 1),
+ RecordsChannel: make(chan firetail.Record, 100),
42
}
43
44
r := chi.NewRouter()
0 commit comments