Expire badge cache in 10 seconds

This commit is contained in:
2020-08-31 17:30:54 +10:00
parent db728d005f
commit 3dc79ac60d
+1 -1
View File
@@ -50,7 +50,7 @@ const (
textMarginY = 14
badgeHeight = 20
textStyle = "text-anchor:start;font-size:12px;fill:white;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;"
badgeExpireSeconds = 60
badgeExpireSeconds = 10
labelWidthPortion = 0.65
metricRequestTimeout = 10 * time.Second
ErrorMessageInternalError = "Oops, there's something wrong, please try it again later."