mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Allow sqlite checkpoints
This commit is contained in:
@@ -2299,9 +2299,6 @@ public abstract class DB extends RoomDatabase {
|
||||
}
|
||||
|
||||
public static void checkpoint(Context context) {
|
||||
if (!BuildConfig.DEBUG)
|
||||
return;
|
||||
|
||||
// https://www.sqlite.org/pragma.html#pragma_wal_checkpoint
|
||||
DB db = getInstance(context);
|
||||
db.getQueryExecutor().execute(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user