Skip to content

Commit 915457f

Browse files
committed
revert back to 4mb
1 parent c041459 commit 915457f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codersdk/drpcsdk/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
const (
1818
// MaxMessageSize is the maximum payload size that can be
1919
// transported without error.
20-
MaxMessageSize = 10 << 20
20+
MaxMessageSize = 4 << 20
2121
)
2222

2323
func DefaultDRPCOptions(options *drpcmanager.Options) drpcmanager.Options {

provisionerd/provisionerd_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func TestProvisionerd(t *testing.T) {
178178
require.NoError(t, closer.Close())
179179
})
180180

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
182182
// returns large payload messages back. The limit should be 10mb, so all
183183
// these messages should work.
184184
t.Run("LargePayloads", func(t *testing.T) {
@@ -188,7 +188,7 @@ func TestProvisionerd(t *testing.T) {
188188
close(done)
189189
})
190190
var (
191-
largeSize = 6 * 1024 * 1024
191+
largeSize = 3 * 1024 * 1024
192192
completeChan = make(chan struct{})
193193
completeOnce sync.Once
194194
acq = newAcquireOne(t, &proto.AcquiredJob{

0 commit comments

Comments
 (0)