(SCC-SA1017) Channels used with `signal.Notify` should be buffered
johnsonjh opened this issue · comments
Jeffrey H. Johnson commented
Description
The os/signal package uses non-blocking channel sends when delivering signals. If the receiving end of the channel isn't ready and the channel is either unbuffered or full, the signal will be dropped. To avoid missing signals, the channel should be buffered and of the appropriate size. For a channel used …
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/johnsonjh/jleveldb/issue/SCC-SA1017/occurrences/
Jeffrey H. Johnson commented
Resolved