Fix containerd deadlock.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-12-12 01:45:14 +00:00
parent 6393165b09
commit 0eebf9051b

View File

@ -78,7 +78,7 @@ func main() {
var (
start = time.Now()
signals = make(chan os.Signal, 2048)
serverC = make(chan *server.Server)
serverC = make(chan *server.Server, 1)
ctx = log.WithModule(gocontext.Background(), "containerd")
config = defaultConfig()
)