Fix push notification handling

This was crashing every time the extension started
This commit is contained in:
Niels Andriesse 2021-05-20 13:57:42 +10:00
parent 08fc17e0f9
commit c84a942478
1 changed files with 0 additions and 3 deletions

View File

@ -69,9 +69,6 @@ void VerifyRegistrationsForPrimaryStorage(OWSStorage *storage)
_dbReadPool = [[YapDatabaseConnectionPool alloc] initWithDatabase:self.database];
_dbReadWriteConnection = [self newDatabaseConnection];
_uiDatabaseConnection = [self newDatabaseConnection];
// Vacuum the database
[self.dbReadWriteConnection vacuum];
// Increase object cache limit. Default is 250.
_uiDatabaseConnection.objectCacheLimit = 500;