From be7eb01dd2d6bc69364544c0532827ac06c82133 Mon Sep 17 00:00:00 2001 From: Flynn Date: Thu, 21 Mar 2024 01:44:00 +0100 Subject: [PATCH] Final tweak to handling of color & smiley timeouts Signed-off-by: Flynn --- pkg/faces/constants.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/faces/constants.go b/pkg/faces/constants.go index 806f6b3..663f98f 100644 --- a/pkg/faces/constants.go +++ b/pkg/faces/constants.go @@ -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",