Skip to content

Commit

Permalink
Changed connection statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Jan 22, 2024
1 parent 06037c2 commit d6d4e45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion brewtils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1499,11 +1499,13 @@ class Connection(BaseModel):
schema = "ConnectionSchema"

CONNECTION_STATUSES = {
"ENABLED", # Sending
"PUBLISHING",
"RECEIVING",
"DISABLED" # Stopped via config or API
"NOT_CONFIGURED", # Not enabled in configuration file
"MISSING_CONFIGURATION", # Missing configuration file
"UNREACHABLE", # Unable to send message
"UNRESPONSIVE", # Haven't seen a message in N timeframe
"ERROR", # Error occured, outside of unreachable
"UNKNOWN",
}
Expand Down

0 comments on commit d6d4e45

Please sign in to comment.