mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Enabled checkpoints by default
This commit is contained in:
parent
d81f7fb2ea
commit
b0a537cf25
2 changed files with 2 additions and 2 deletions
|
@ -1737,7 +1737,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|||
sbRoomQueryThreads.setProgress(query_threads);
|
||||
|
||||
swWal.setChecked(prefs.getBoolean("wal", true));
|
||||
swCheckpoints.setChecked(prefs.getBoolean("sqlite_checkpoints", false));
|
||||
swCheckpoints.setChecked(prefs.getBoolean("sqlite_checkpoints", true));
|
||||
swAnalyze.setChecked(prefs.getBoolean("sqlite_analyze", true));
|
||||
|
||||
int sqlite_cache = prefs.getInt("sqlite_cache", DB.DEFAULT_CACHE_SIZE);
|
||||
|
|
|
@ -59,7 +59,7 @@ public class WorkerFts extends Worker {
|
|||
Context context = getApplicationContext();
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean checkpoints = prefs.getBoolean("sqlite_checkpoints", false);
|
||||
boolean checkpoints = prefs.getBoolean("sqlite_checkpoints", true);
|
||||
|
||||
int indexed = 0;
|
||||
List<Long> ids = new ArrayList<>(INDEX_BATCH_SIZE);
|
||||
|
|
Loading…
Reference in a new issue