Skip to content
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

Federation timeout option #158

Closed
istrau2 opened this issue Apr 24, 2018 · 2 comments · Fixed by #166
Closed

Federation timeout option #158

istrau2 opened this issue Apr 24, 2018 · 2 comments · Fixed by #166

Comments

@istrau2
Copy link

istrau2 commented Apr 24, 2018

Executing:
await StellarSdk.StellarTomlResolver.resolve(uri.host()); can cause an application to get stuck for a long time waiting for a response, especially if it is running on a server (and not in a browser).

Requesting:
An option for timeout in seconds after which the request times out no matter what.

@robertDurst
Copy link
Contributor

Hey @istrau2 looking into this.

For reference, here is an example that causes this lag: xggtoken.com

@robertDurst
Copy link
Contributor

@istrau2 made a PR, simple change. If you have a chance, would you mind giving it a look? I imagine this may help Stellarport verify assets ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants