Skip to content

Commit

Permalink
Increase idle timeout to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Misieq01 committed Aug 5, 2024
1 parent 38597d0 commit ded41a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/SideBar/Miner/components/AutoMiner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function AutoMiner() {
};


const { start, pause } = useIdleTimer({ timeout: 1000 * 5,startManually: true, onIdle: enableAutoMining, onActive:disableAutoMining, events: ["mousemove"]});
const { start, pause } = useIdleTimer({ timeout: 1000 * 30,startManually: true, onIdle: enableAutoMining, onActive:disableAutoMining, events: ["mousemove"]});


React.useEffect(() => {
Expand Down

0 comments on commit ded41a6

Please sign in to comment.