feat: improve polling recovery and session cleanup
This commit is contained in:
@@ -138,11 +138,16 @@ function autoStartDecisionTagType(code?: string) {
|
||||
return "success";
|
||||
}
|
||||
|
||||
if (code === "failed_startup") {
|
||||
if (code === "failed_startup" || code === "poll_failed") {
|
||||
return "danger";
|
||||
}
|
||||
|
||||
if (code === "skipped_storage" || code === "skipped_active_session") {
|
||||
if (
|
||||
code === "skipped_storage" ||
|
||||
code === "skipped_active_session" ||
|
||||
code === "skipped_debounce" ||
|
||||
code === "poll_failed_transient"
|
||||
) {
|
||||
return "warning";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user