mirror of https://github.com/M66B/FairEmail.git
Increased max retry count reading live data
This commit is contained in:
parent
cdf95f7040
commit
ca4fe96bd3
|
@ -90,7 +90,7 @@ class RoomTrackingLiveData<T> extends LiveData<T> {
|
||||||
value = mComputeFunction.call();
|
value = mComputeFunction.call();
|
||||||
computed = true;
|
computed = true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (++retry > 3)
|
if (++retry > 10)
|
||||||
throw new RuntimeException(
|
throw new RuntimeException(
|
||||||
"Exception while computing database live data.", e);
|
"Exception while computing database live data.", e);
|
||||||
eu.faircode.email.Log.w(e);
|
eu.faircode.email.Log.w(e);
|
||||||
|
|
Loading…
Reference in New Issue