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

Query both api datacenters #7

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

darthmaim
Copy link
Contributor

@darthmaim darthmaim commented May 10, 2018

With this PR the worker is making requests to both the EU and US datacenters. This works by passing a custom https.Agent to the fetch call, with a lookup function resolving to the hardcoded api IPs.

Some features are still missing:

  • ⚠️ Training is currently not working
  • ⚠️ duration is always displayed from the eu datacenter
  • collapse errors when both datacenters return the same error
  • Some more refactoring / fix linting

image

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@queicherius
Copy link
Member

Looking good already!

@darthmaim darthmaim force-pushed the multiple-datacenters branch from 8c24556 to 25c5ced Compare May 11, 2018 12:01
@darthmaim darthmaim marked this pull request as draft April 25, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants