-
Notifications
You must be signed in to change notification settings - Fork 2
Clean up nodes, add unsplash, /discovery, /content routes #601
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
Conversation
rickyrombo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little indirect with the global refresh for the node list living in some extra file and global rendezvous hasher.. but I get it. for testing it might make sense to refactor away from globals in the future.
api/server.go
Outdated
| "started": app.started, | ||
| "uptime": time.Since(app.started).Truncate(time.Second).String(), | ||
| "data": []string{ | ||
| "https://discoveryprovider.audius.co", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe https://api.audius.co? (doesn't this just redirect?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah true true
| Endpoint string | ||
| // The individual wallet address for the node | ||
| DelegateOwnerWallet string | ||
| DelegateWallet string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise
| DelegateWallet string | ||
| // The wallet address for the node owner/operator | ||
| OwnerWallet string | ||
| Owner string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeebuz
config/nodes.go
Outdated
| // The wallet address for the node owner/operator | ||
| OwnerWallet string | ||
| Owner string | ||
| // Discovery Nodes have storage disabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty
Yeah I agree. I think this PR improves things and doesn't add any new globals really, but it isn't perfect. |
Get parity with load-balancer frontend, so we can remove it and hit api directly
datafield