Skip to content

Commit

Permalink
feat: set limit to 4k
Browse files Browse the repository at this point in the history
  • Loading branch information
ppzqh committed Aug 22, 2024
1 parent 05231f8 commit 1997dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/codec/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

const (
PayloadValidatorPrefix = "PV_"
maxPayloadChecksumLength = 1024
maxPayloadChecksumLength = 4096 // maximum 4k
)

// PayloadValidator is the interface for validating the payload of RPC requests, which allows customized Checksum function.
Expand Down

0 comments on commit 1997dba

Please sign in to comment.