diff options
author | Valery Piashchynski <[email protected]> | 2021-12-01 18:35:28 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-12-01 18:35:28 +0300 |
commit | 005bce86625b8fffdb3657103ee5589cbb6eed87 (patch) | |
tree | 15adef89d99954a71f5c45f8748ed7e66e57d7c4 /events/eventsbus.go | |
parent | 859a9f696f732fa58dd49427a936fd0fecc0bc7d (diff) |
improve codecov
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'events/eventsbus.go')
-rw-r--r-- | events/eventsbus.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/events/eventsbus.go b/events/eventsbus.go index cd0dca71..a2a2c859 100644 --- a/events/eventsbus.go +++ b/events/eventsbus.go @@ -130,7 +130,7 @@ func (eb *eventsBus) subscribe(subID string, pattern string, ch chan<- Event) er return nil } - subArr := make([]*sub, 0, 5) + subArr := make([]*sub, 0, 1) subArr = append(subArr, &sub{ pattern: pattern, w: w, |