Skip to content

Commit dba5fa0

Browse files
authored
Merge pull request #1913 from Random-Liu/cherry-pick-#1907
[Cherrypick] Fix containerd deadlock.
2 parents 2689c98 + de5beee commit dba5fa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/containerd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func main() {
7878
var (
7979
start = time.Now()
8080
signals = make(chan os.Signal, 2048)
81-
serverC = make(chan *server.Server)
81+
serverC = make(chan *server.Server, 1)
8282
ctx = log.WithModule(gocontext.Background(), "containerd")
8383
config = defaultConfig()
8484
)

0 commit comments

Comments
 (0)