Skip to content

Commit

Permalink
change ping to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
jancimertel committed May 23, 2023
1 parent 4fcb915 commit d561eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Api {
this.ping = duration;
}
});
}, 1000);
}, 5000);

this.headers = {
"Content-Type": "application/json",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/components/advanced/Page/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const Page: React.FC<Page> = ({ children }) => {
return localPing;
},
{
refetchInterval: 1000,
refetchInterval: 5000,
}
);

Expand Down

0 comments on commit d561eed

Please sign in to comment.