Signal-iOS/SignalServiceKit
Evan Hahn 8b2ec27f19
Clean up database checkpointing
This change should have no impact on behavior.

SQLite supports [several different checkpoint modes][0]. We always use
the "TRUNCATE" mode, so we can remove the code that handles different
ones.

We can also stop logging checkpoint results that are [always 0 in
"TRUNCATE" mode][1].

We can also use GRDB's WAL checkpoint method instead of calling SQLite's
API directly.

[0]: https://www.sqlite.org/c3ref/c_checkpoint_full.html
[1]: https://sqlite.org/c3ref/wal_checkpoint_v2.html
2023-04-13 12:21:12 -05:00
..
Calls Enable a RingRTC field trial for all users, with kill switch 2023-02-01 16:20:16 -06:00
ChangePhoneNumber Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
DateProvider Implement RegistrationSessionManager 2023-02-08 15:37:12 -08:00
Dependencies Swiftify AppSetup 2023-04-12 17:54:48 -07:00
Experience Upgrades Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
GroupMembers Clean up logic that builds the TSGroupMember table 2023-03-27 12:52:54 -07:00
Jobs Swiftify AppSetup 2023-04-12 17:54:48 -07:00
KeyBackupService Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Mocks Make SystemStoryManagerTest synchronous to end its reign of flaky terror 2023-03-29 08:47:49 -07:00
protobuf Add EditMessage protos 2023-03-30 15:16:53 -05:00
Registration Change all e164 references in reg coordinator to E164 type 2023-03-16 11:32:13 -07:00
Resources Add parsing support for the pni capability 2023-03-24 10:07:39 -07:00
Schedulers Make SystemStoryManagerTest synchronous to end its reign of flaky terror 2023-03-29 08:47:49 -07:00
src Clean up database checkpointing 2023-04-13 12:21:12 -05:00
tests Simplify SDSDatabaseStorageObservationTest 2023-04-13 10:02:09 -07:00
Usernames Rename StorageServiceManagerProtocol 2023-03-23 09:29:38 -07:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
SignalServiceKit-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalServiceKit.h Swiftify AppSetup 2023-04-12 17:54:48 -07:00