Fix crash

This commit is contained in:
Niels Andriesse 2021-04-15 10:01:13 +10:00
parent 51576acec1
commit 1b834978df
1 changed files with 2 additions and 2 deletions

View File

@ -170,10 +170,10 @@ NS_ASSUME_NONNULL_BEGIN
// //
// PERF: we could do less messages on shorter (older, slower) devices // PERF: we could do less messages on shorter (older, slower) devices
// PERF: we could cache the cell height, since some messages will be much taller. // PERF: we could cache the cell height, since some messages will be much taller.
static const int kYapDatabasePageSize = 100; static const int kYapDatabasePageSize = 25000;
// Never show more than n messages in conversation view when user arrives. // Never show more than n messages in conversation view when user arrives.
static const int kConversationInitialMaxRangeSize = 100; static const int kConversationInitialMaxRangeSize = 25000;
// Never show more than n messages in conversation view at a time. // Never show more than n messages in conversation view at a time.
static const int kYapDatabaseRangeMaxLength = 25000; static const int kYapDatabaseRangeMaxLength = 25000;