From f095a38cebc0ac91a95881183a21f5106d5e326d Mon Sep 17 00:00:00 2001 From: Henrique Pimentel Date: Wed, 8 May 2024 13:00:25 +0100 Subject: [PATCH] Reduced the maxRows limit from 100k to 2.5k --- custom/conf/app.example.ini | 2 +- modules/setting/ui.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 9be8189342541..2578ae7144eff 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1336,7 +1336,7 @@ LEVEL = Info ;MAX_FILE_SIZE = 524288 ;; ;; Maximum allowed rows to render CSV files. (Set to 0 for no limit) -;MAX_ROWS = 100000 +;MAX_ROWS = 2500 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/modules/setting/ui.go b/modules/setting/ui.go index e0cd710f7219c..a8dc11d09713c 100644 --- a/modules/setting/ui.go +++ b/modules/setting/ui.go @@ -111,7 +111,7 @@ var UI = struct { MaxRows int }{ MaxFileSize: 524288, - MaxRows: 100000, + MaxRows: 2500, }, Admin: struct { UserPagingNum int