Skip to content

Commit

Permalink
Set grpc max message size to 128MB. (#2375)
Browse files Browse the repository at this point in the history
Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
(cherry picked from commit b1bcc05)
Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
  • Loading branch information
anshulpundir committed Sep 22, 2017
1 parent b8dd7f1 commit 70926a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ import (
const (
// defaultTaskHistoryRetentionLimit is the number of tasks to keep.
defaultTaskHistoryRetentionLimit = 5

// Default value for grpc max message size.
grpcMaxMessageSize = 128 << 20
)

// RemoteAddrs provides an listening address and an optional advertise address
Expand Down

0 comments on commit 70926a2

Please sign in to comment.