-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retries? #31
Comments
@brandonmp it seems that Lokka doesn't have this type of functionality. If you are looking for a similar lightweight client, apollo-fetch is a client that can support an afterware that retries a failed request. If you are looking for something that supports retries out of the box with more room for extensibility, an Apollo Link network stack can retry failed requests. This documentation describes how to create a network stack that can retry a request. Let me know if you have any questions or are looking for some other behavior. |
thanks @evanshauser --i really should get more familiar w/ the apollo ecosystem re: the OP, i actually ended up throwing together a quick/dirty network layer for Lokka with retry built-in. should've mentioned it here but forgot all about this post https://github.com/brandonmp/lokka-transport-http |
ps--way to hustle, intern! keep up the good work. |
Is it possible to configure Lokka to retry upon failed connections? The built-in retries and timeouts on the
relay
network layer are quite handy, wasn't sure if that was possible with Lokka.The text was updated successfully, but these errors were encountered: