Skip to content

Commit 37b9571

Browse files
committed
Update default file chunk size
1 parent 14340bd commit 37b9571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131
DefMaxMessageRecieveSize = 4194304 // default 4 MB
3232
DefMaxMessageSendSize = 4194304 // default 4 MB
3333
DefMaxFileSize uint32 = 1048576 // 1MB
34-
DefFileChunkSize uint32 = 2097152 // 2MB
34+
DefFileChunkSize uint32 = 524288 // 0.5MB
3535

3636
// Client HTTP Settings
3737
DefHTTPTimeout = 10 * time.Second

0 commit comments

Comments
 (0)