Chore: Set grpc limits explicitly (#2101)
Set `MaxReceiveMsgSize` as 32mb and `MaxSendMsgSize` as 100mb
This commit is contained in:
@@ -26,6 +26,10 @@ func main() {
|
||||
CallResourceHandler: httpResourceHandler,
|
||||
QueryDataHandler: ds,
|
||||
CheckHealthHandler: ds,
|
||||
GRPCSettings: backend.GRPCSettings{
|
||||
MaxReceiveMsgSize: 32 * 1024 * 1024,
|
||||
MaxSendMsgSize: 100 * 1024 * 1024,
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
pluginLogger.Error("Error starting Zabbix datasource", "error", err.Error())
|
||||
|
||||
Reference in New Issue
Block a user