Skip to content

Commit

Permalink
Merge pull request #10 from BuoyantIO/flynn/timeout-fix
Browse files Browse the repository at this point in the history
Final tweak to handling of color & smiley timeouts
  • Loading branch information
kflynn committed Mar 21, 2024
2 parents aa2a8c5 + be7eb01 commit af3afc0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/faces/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ var Defaults = map[string]string{
"color": "grey",
"smiley": Smileys["Cursing"],

// 504 errors (GatewayTimeout) get handled in the GUI, so
// just pass those on.
"color-504": "504",
"smiley-504": "504",
// 504 errors (GatewayTimeout) from the face workload will get handled in
// the GUI, but from the color & smiley workloads, they should get
// translated to a pink color or a sleeping face.
"color-504": "pink",
"smiley-504": Smileys["Sleeping"],

// Ratelimits are pink with an exploding head.
"color-ratelimit": "pink",
Expand Down

0 comments on commit af3afc0

Please sign in to comment.