Improve logging in database conversion; disable orphan cleanup.

pull/1/head
Matthew Chen 7 years ago
parent 8325c37191
commit 02a972c9dc

@ -193,7 +193,7 @@ CHECKOUT OPTIONS:
:commit: d5c2bec
:git: https://github.com/sqlcipher/sqlcipher.git
YapDatabase:
:commit: c58c6176941275c13ffe6ad697223e0cc3432928
:commit: 7bd1372b0c766f858410982f773193be45b04590
:git: https://github.com/WhisperSystems/YapDatabase.git
SPEC CHECKSUMS:

@ -798,16 +798,16 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
self.isEnvironmentSetup = YES;
#ifdef DEBUG
// A bug in orphan cleanup could be disastrous so let's only
// run it in DEBUG builds for a few releases.
//
// TODO: Release to production once we have analytics.
// TODO: Orphan cleanup is somewhat expensive - not least in doing a bunch
// of disk access. We might want to only run it "once per version"
// or something like that in production.
[OWSOrphanedDataCleaner auditAndCleanupAsync:nil];
#endif
//#ifdef DEBUG
// // A bug in orphan cleanup could be disastrous so let's only
// // run it in DEBUG builds for a few releases.
// //
// // TODO: Release to production once we have analytics.
// // TODO: Orphan cleanup is somewhat expensive - not least in doing a bunch
// // of disk access. We might want to only run it "once per version"
// // or something like that in production.
// [OWSOrphanedDataCleaner auditAndCleanupAsync:nil];
//#endif
[OWSProfileManager.sharedManager fetchLocalUsersProfile];
[[OWSReadReceiptManager sharedManager] prepareCachedValues];

Loading…
Cancel
Save