Skip to content

Commit

Permalink
Merge pull request #1742 from benphelps/fix/issue-1741
Browse files Browse the repository at this point in the history
Fix: default resources refresh rate
  • Loading branch information
shamoon committed Jul 31, 2023
2 parents 62e294a + 206e503 commit 5221ed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/widgets/resources/resources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Uptime from "./uptime";
export default function Resources({ options }) {
const { expanded, units } = options;
let { refresh } = options;
if (!refresh) refresh = 1500;
refresh = Math.max(refresh, 1000);
return <Container options={options}>
<Raw>
Expand Down

0 comments on commit 5221ed0

Please sign in to comment.