Files
sub-store/internal/util/limits.go
T

14 lines
444 B
Go

package util
// Byte/quantity limit constants — mirror the original project's limits.ts.
const (
MaxAPIBodyBytes = 4 * 1024 * 1024
MaxRemoteSourceUrls = 8
MaxRemoteSourceRespBytes = 2 * 1024 * 1024
MaxRemoteSourceTotalBytes = 12 * 1024 * 1024
MaxFlowRespBytes = 64 * 1024
MaxDoHRespBytes = 64 * 1024
MaxRecycleEntries = 50
MaxCustomRules = 32 // review-resolution #37
)