forked from mirrors/homebox
fix blocking error during startup when in demo mode (#838)
This commit is contained in:
parent
af9aa239af
commit
f621d3ad5d
5 changed files with 37 additions and 12 deletions
|
@ -35,7 +35,7 @@ type EventBus struct {
|
|||
|
||||
func New() *EventBus {
|
||||
return &EventBus{
|
||||
ch: make(chan eventData, 10),
|
||||
ch: make(chan eventData, 100),
|
||||
subscribers: map[Event][]func(any){
|
||||
EventLabelMutation: {},
|
||||
EventLocationMutation: {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue