Increased max retry count reading live data

This commit is contained in:
M66B 2019-08-14 21:11:17 +02:00
parent cdf95f7040
commit ca4fe96bd3
1 changed files with 1 additions and 1 deletions

View File

@ -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);