From 50bbe53af06e91f7bcb9df120c41b9db5213b667 Mon Sep 17 00:00:00 2001 From: istae <14264581+esadakar@users.noreply.github.com> Date: Thu, 12 Aug 2021 17:18:01 +0300 Subject: [PATCH] chore: increase targetMaxLength --- pkg/api/pss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/pss.go b/pkg/api/pss.go index f3b599588fc..12e205f3a6c 100644 --- a/pkg/api/pss.go +++ b/pkg/api/pss.go @@ -26,7 +26,7 @@ import ( const ( writeDeadline = 4 * time.Second // write deadline. should be smaller than the shutdown timeout on api close readDeadline = 4 * time.Second // read deadline. should be smaller than the shutdown timeout on api close - targetMaxLength = 2 // max target length in bytes, in order to prevent grieving by excess computation + targetMaxLength = 3 // max target length in bytes, in order to prevent grieving by excess computation ) func (s *server) pssPostHandler(w http.ResponseWriter, r *http.Request) {