adjust latency threshold

This commit is contained in:
SrGooglo 2023-06-26 23:08:57 +00:00
parent c52834c0c8
commit bf3eeaa4f1

View File

@ -37,10 +37,10 @@ const Footer = () => {
const latencyToColor = (latency, type) => {
switch (type) {
case "http": {
if (latency < 100) {
if (latency < 200) {
return "green"
}
if (latency < 200) {
if (latency < 500) {
return "orange"
}
return "red"