Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Use the new GRPCServerOptions from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach C committed Jun 28, 2017
1 parent 9ef9185 commit 5898263
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ package main
import (
"github.com/signifai/snap-plugin-processor-metric-repeat-filter/metric-repeat-filter"
"github.com/intelsdi-x/snap-plugin-lib-go/v1/plugin"
"google.golang.org/grpc"
)

func main() {
plugin.StartProcessor(MetricRepeatFilter.New(), MetricRepeatFilter.Name, MetricRepeatFilter.Version)
plugin.StartProcessor(MetricRepeatFilter.New(), MetricRepeatFilter.Name, MetricRepeatFilter.Version, plugin.GRPCServerOptions(grpc.MaxMsgSize(20 * 1024 * 1024)))
}

0 comments on commit 5898263

Please sign in to comment.