fix: failed to evenly distribute the spawn-rate to each worker

This commit is contained in:
徐聪
2022-07-25 21:30:01 +08:00
parent 461366c28a
commit 683c0e5374
2 changed files with 22 additions and 10 deletions
+1
View File
@@ -406,6 +406,7 @@ func (s *grpcServer) close() {
ctx, cancel := context.WithTimeout(context.Background(), timeout)
s.stopServer(ctx)
cancel()
close(s.disconnectedChan)
}
func (s *grpcServer) recvChannel() chan *genericMessage {