server.Init(Wait(nil)) update server options context (#1804)
Co-authored-by: wangxu <wangxu@oneniceapp.com> Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
parent
333320dcb8
commit
1bac08cc0e
@ -118,6 +118,8 @@ func (g *grpcServer) configure(opts ...server.Option) {
|
||||
o(&g.opts)
|
||||
}
|
||||
|
||||
g.wg = wait(g.opts.Context)
|
||||
|
||||
maxMsgSize := g.getMaxMsgSize()
|
||||
|
||||
gopts := []grpc.ServerOption{
|
||||
|
Loading…
x
Reference in New Issue
Block a user