Update min retry count to 3.
Empirical testing in shows increased robustness.
This commit is contained in:
parent
e8d2c00cf7
commit
3ca12d0c39
@ -137,7 +137,7 @@ public class ChunkSampleSource implements SampleSource, Loader.Callback {
|
|||||||
/**
|
/**
|
||||||
* The default minimum number of times to retry loading data prior to failing.
|
* The default minimum number of times to retry loading data prior to failing.
|
||||||
*/
|
*/
|
||||||
public static final int DEFAULT_MIN_LOADABLE_RETRY_COUNT = 1;
|
public static final int DEFAULT_MIN_LOADABLE_RETRY_COUNT = 3;
|
||||||
|
|
||||||
private static final int STATE_UNPREPARED = 0;
|
private static final int STATE_UNPREPARED = 0;
|
||||||
private static final int STATE_PREPARED = 1;
|
private static final int STATE_PREPARED = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user