-
Notifications
You must be signed in to change notification settings - Fork 13
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
Introduce 'Endpoint' and launch endpoints in tasks. #459
Conversation
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.
Looks good to me.
backoff := Duration --s=5 | ||
logger.info "backing off for $backoff" | ||
sleep backoff | ||
endpoints := [ |
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.
It would be nice to get these endpoints passed in to serve
from the outside, so the configuration step is nicely split from the logic.
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.
will address this in a follow-up PR.
// If Jaguar needs to be disabled, we stop here and wait until | ||
// we can re-enable Jaguar. | ||
if disabled: | ||
network-free.up // Signal to start running the container. |
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.
This feels a bit weird now. The endpoint may not be network related? Should this be a call to the endpoint? Or should it just be renamed to jaguar-disabled.up
?
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.
Agreed.
Will do a follow-up PR.
backoff := Duration --s=5 | ||
logger.info "backing off for $backoff" | ||
sleep backoff | ||
Task.group lambdas |
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.
I like that we have this.
No description provided.