Commit dd46b791
dd46b7911647Merged
Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
Use bufferized dependencies channels
Details
- Commit
- dd46b7911647
- Parent
- 27fce97f6808
pkg/pubsub/pubsub.gomodifiedView file
@@ -24,7 +24,7 @@
2424
ps.mu.Lock()2525
defer ps.mu.Unlock()2626
27-
ch := make(chan ReleaseStatus)27+
ch := make(chan ReleaseStatus, 1)2828
ps.subs[release] = append(ps.subs[release], ch)2929
return ch3030
}