diff --git a/internal/server/token.go b/internal/server/token.go index 52f97774..c12865c3 100644 --- a/internal/server/token.go +++ b/internal/server/token.go @@ -662,7 +662,8 @@ func (s *Server) parseSearchScanBaseTokens( } } if sprecision != "" { - if t.precision, err = strconv.ParseUint(sprecision, 10, 64); err != nil || t.precision == 0 || t.precision > 64 { + t.precision, err = strconv.ParseUint(sprecision, 10, 64) + if err != nil || t.precision == 0 || t.precision > 12 { err = errInvalidArgument(sprecision) return }