File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
const (
18
18
// MaxMessageSize is the maximum payload size that can be
19
19
// transported without error.
20
- MaxMessageSize = 10 << 20
20
+ MaxMessageSize = 4 << 20
21
21
)
22
22
23
23
func DefaultDRPCOptions (options * drpcmanager.Options ) drpcmanager.Options {
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ func TestProvisionerd(t *testing.T) {
178
178
require .NoError (t , closer .Close ())
179
179
})
180
180
181
- // LargePayloads sends a 6mb tar file to the provisioner. The provisioner also
181
+ // LargePayloads sends a 3mb tar file to the provisioner. The provisioner also
182
182
// returns large payload messages back. The limit should be 10mb, so all
183
183
// these messages should work.
184
184
t .Run ("LargePayloads" , func (t * testing.T ) {
@@ -188,7 +188,7 @@ func TestProvisionerd(t *testing.T) {
188
188
close (done )
189
189
})
190
190
var (
191
- largeSize = 6 * 1024 * 1024
191
+ largeSize = 3 * 1024 * 1024
192
192
completeChan = make (chan struct {})
193
193
completeOnce sync.Once
194
194
acq = newAcquireOne (t , & proto.AcquiredJob {
You can’t perform that action at this time.
0 commit comments