mirror of https://github.com/M66B/FairEmail.git
WTF the was tested!
This commit is contained in:
parent
f8a3826e7f
commit
f384df28d3
|
@ -110,7 +110,7 @@ public abstract class DB extends RoomDatabase {
|
||||||
|
|
||||||
sInstance = migrate(acontext, getBuilder(acontext));
|
sInstance = migrate(acontext, getBuilder(acontext));
|
||||||
|
|
||||||
sInstance.getOpenHelper().getWritableDatabase().execSQL("PRAGMA wal_autocheckpoint=100;");
|
//sInstance.getOpenHelper().getWritableDatabase().execSQL("PRAGMA wal_autocheckpoint=100;");
|
||||||
|
|
||||||
// https://www.sqlite.org/lang_vacuum.html
|
// https://www.sqlite.org/lang_vacuum.html
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
|
|
Loading…
Reference in New Issue