mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Implement workspace proxy going away (graceful shutdown) (#7459)
* chore: Implement workspace proxy going away When a workspace proxy shuts down, the health status of that proxy should immediately be updated. This is purely a courtesy and technically not required
This commit is contained in:
@@ -15,9 +15,9 @@ import (
|
||||
type ProxyHealthStatus string
|
||||
|
||||
const (
|
||||
// ProxyReachable means the proxy access url is reachable and returns a healthy
|
||||
// ProxyHealthy means the proxy access url is reachable and returns a healthy
|
||||
// status code.
|
||||
ProxyReachable ProxyHealthStatus = "reachable"
|
||||
ProxyHealthy ProxyHealthStatus = "ok"
|
||||
// ProxyUnreachable means the proxy access url is not responding.
|
||||
ProxyUnreachable ProxyHealthStatus = "unreachable"
|
||||
// ProxyUnhealthy means the proxy access url is responding, but there is some
|
||||
|
||||
Reference in New Issue
Block a user