chore(messages): decrease MESSAGES_PER_PAGE_MAX

- messages should be processed in smaller batches to avoid freezing, as
  they are currently processed on the main UI thread

closes: #10886
This commit is contained in:
Patryk Osmaczko 2023-06-07 15:57:10 +02:00 committed by osmaczko
parent ba5273914c
commit e7c2d0bfbb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ logScope:
let NEW_LINE = re"\n|\r" #must be defined as let, not const
const MESSAGES_PER_PAGE* = 20
const MESSAGES_PER_PAGE_MAX* = 300
const MESSAGES_PER_PAGE_MAX* = 40
const CURSOR_VALUE_IGNORE = "ignore"
const WEEK_AS_MILLISECONDS = initDuration(seconds = 60*60*24*7).inMilliSeconds