johnsonjh / jleveldb

jleveldb: JLevelDB is an implementation of the LevelDB key/value database in the Go programming language, based on GoLevelDB

Home Page:https://github.com/johnsonjh/jleveldb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(SCC-SA1017) Channels used with `signal.Notify` should be buffered

johnsonjh opened this issue · comments

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/