-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add information to terminated backends #562
Add information to terminated backends #562
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…ated-backends-in-plane2
…ated-backends-in-plane2
…ated-backends-in-plane2
) | ||
values ($1, $2, $3, now(), $4, now() + $5, $6, now()) | ||
values ($1, $2, $3, now(), $4, now() + $5, $6, now(), $11) |
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.
Is this supposed to be $7
instead of $11
?
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.
no, this is the value for state
, which is the 11th argument in the list below. $7
is key.name
.
Doc on old <> new state mapping: https://docs.google.com/document/d/11bSSsr4uoA8fFmNyub0FqYiE-mqBZ6hTHxmoEInMTyc/edit
This adds information to the backend state:
reason
is an optional reason that a backend was terminated, which can beSwept
,External
(i.e. API or CLI), orKeyExpired
.reason
isNone
if the backend is still running or exited on its own.last_status
records the last status before a backend entered theTerminating
orTerminated
state.