feat: ota
This commit is contained in:
@@ -148,6 +148,10 @@ func main() {
|
||||
})
|
||||
defer s.Stop()
|
||||
|
||||
s.AddOptions(
|
||||
grpc.MaxRecvMsgSize(256<<20),
|
||||
grpc.MaxSendMsgSize(256<<20),
|
||||
)
|
||||
s.AddUnaryInterceptors(validate.UnaryServerInterceptor(validate.MustNew()))
|
||||
|
||||
logx.Infof("Starting rpc server at %s...", listenOn)
|
||||
|
||||
Reference in New Issue
Block a user