You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
I'm testing your library and have noticed that when store.get() is called multiple times in the same time, then the request is made also multiple times, despite having either memory cache or persister.
In order to see the source.
3. In onResume() method call loadPosts(); method multiple times instead of one time.
4. Logs prints NETWORK multiple times.
Make sure to make a clean app install as there is a persister added or remove persister and add memory cache.
I've noticed that inFlightRequests didn't cache the first Single.
PS I had to change baseUrl to .baseUrl("https://reddit.com/") for sample app to work on Android 8 as it required https instead of http.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm testing your library and have noticed that when
store.get()
is called multiple times in the same time, then the request is made also multiple times, despite having either memory cache or persister.Steps to reproduce using sample app:
PersistingStoreActivity
persistedStore.get()
method toIn order to see the source.
3. In onResume() method call
loadPosts();
method multiple times instead of one time.4. Logs prints
NETWORK
multiple times.Make sure to make a clean app install as there is a persister added or remove persister and add memory cache.
I've noticed that
inFlightRequests
didn't cache the first Single.PS I had to change baseUrl to
.baseUrl("https://reddit.com/")
for sample app to work on Android 8 as it requiredhttps
instead ofhttp
.The text was updated successfully, but these errors were encountered: