Fix containerd deadlock.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
6393165b09
commit
0eebf9051b
@ -78,7 +78,7 @@ func main() {
|
|||||||
var (
|
var (
|
||||||
start = time.Now()
|
start = time.Now()
|
||||||
signals = make(chan os.Signal, 2048)
|
signals = make(chan os.Signal, 2048)
|
||||||
serverC = make(chan *server.Server)
|
serverC = make(chan *server.Server, 1)
|
||||||
ctx = log.WithModule(gocontext.Background(), "containerd")
|
ctx = log.WithModule(gocontext.Background(), "containerd")
|
||||||
config = defaultConfig()
|
config = defaultConfig()
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user