mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 21:13:37 +02:00
Debug: prevent cursor window full
This commit is contained in:
@@ -128,7 +128,7 @@ public class FragmentLogs extends FragmentBase {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
|
||||
long from = new Date().getTime() - 24 * 3600 * 1000L;
|
||||
int limit = (BuildConfig.DEBUG ? 10000 : 2000);
|
||||
int limit = (BuildConfig.DEBUG ? 5000 : 2000);
|
||||
|
||||
DB db = DB.getInstance(getContext());
|
||||
db.log().liveLogs(from, limit, null).observe(getViewLifecycleOwner(), new Observer<List<EntityLog>>() {
|
||||
|
||||
Reference in New Issue
Block a user