This commit is contained in:
2024-05-16 17:11:26 +02:00
parent aa41e35cb1
commit 920c34c25c
3 changed files with 50 additions and 42 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func (app *FiberSSEApp) CreateChannel(name, base string) *FiberSSEChannel {
newChannel := &FiberSSEChannel{
Name: name,
Base: base,
Events: make(chan *FiberSSEEvent),
Events: make(chan *FiberSSEEvent, 100),
ParentSSEApp: app,
Handlers: make(map[string][]FiberSSEEventHandler),
EventHandlers: make(map[string][]FiberSSEOnEventHandler),