Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Sep 8, 2024
2 parents a505a0e + 3a1171b commit 801dcf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/Team/deploy/Container/Traces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ export const TeamDeployContainerTraces = () => {
}, []);

useEffect(() => {
let currentTime = Math.floor(Date.now() / 1000) - 5;
const oneHourAgo = currentTime - 1800;
const oneHourAgo = 3600;

if (deployUUID && env) {
getTrace(deployUUID, env, oneHourAgo).then((res) => {
Expand Down

0 comments on commit 801dcf6

Please sign in to comment.