add tcp timeout, fix worker stuck

This commit is contained in:
lyc8503 committed 2023-10-28 16:02:22 +08:00
1 parent 4817fef547
commit 6157bc0879
4 files changed
+15 -6

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
import { MonitorState, MonitorTarget } from "@/uptime.types";
import { Box, Tooltip } from "@mantine/core";
import { useEffect, useRef } from "react";
export default function DetailBar({ monitor, state }: { monitor: MonitorTarget, state: MonitorState }) {
+2 -2
View File
@@ -22,8 +22,8 @@ export default function MonitorDetail({ monitor, state }: { monitor: MonitorTarg
if (!state.latency[monitor.id]) return (
<>
<Text>{monitor.name}</Text>
<Text>No data available, please make sure you have deployed your workers with latest config and check your worker status!</Text>
<Text mt='sm' fw={700}>{monitor.name}</Text>
<Text mt='sm' fw={700}>No data available, please make sure you have deployed your workers with latest config and check your worker status!</Text>
</>
)