mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 20:03:52 +01:00
Retry on compute exception
This commit is contained in:
@@ -93,8 +93,10 @@ class RoomTrackingLiveData<T> extends LiveData<T> {
|
||||
//throw new RuntimeException("Exception while computing database"
|
||||
// + " live data.", e);
|
||||
computed = false;
|
||||
mInvalid.set(false);
|
||||
break;
|
||||
try {
|
||||
Thread.sleep(5000L);
|
||||
} catch (InterruptedException ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (computed) {
|
||||
|
||||
Reference in New Issue
Block a user