Skip to content

Commit 19be9d2

Browse files
Reduced the maxRows limit from 100k to 2.5k
1 parent b8cb358 commit 19be9d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom/conf/app.example.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ LEVEL = Info
13361336
;MAX_FILE_SIZE = 524288
13371337
;;
13381338
;; Maximum allowed rows to render CSV files. (Set to 0 for no limit)
1339-
;MAX_ROWS = 100000
1339+
;MAX_ROWS = 2500
13401340

13411341
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13421342
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

modules/setting/ui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var UI = struct {
111111
MaxRows int
112112
}{
113113
MaxFileSize: 524288,
114-
MaxRows: 100000,
114+
MaxRows: 2500,
115115
},
116116
Admin: struct {
117117
UserPagingNum int

0 commit comments

Comments
 (0)