mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Setting per-paging for logs to load 10K initially like the old apis (#6697)
* Setting per-paging for logs to load 10K initially like the old apis * Fixing unit test
This commit is contained in:
@@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
func GetLogs(page, perPage int) ([]string, *model.AppError) {
|
||||
|
||||
perPage = 10000
|
||||
|
||||
var lines []string
|
||||
if einterfaces.GetClusterInterface() != nil && *utils.Cfg.ClusterSettings.Enable {
|
||||
lines = append(lines, "-----------------------------------------------------------------------------------------------------------")
|
||||
|
||||
Reference in New Issue
Block a user