Skip to content

Commit

Permalink
Merge pull request #20222 from brave/szilard-8674-balance-is-fetched-…
Browse files Browse the repository at this point in the history
…too-often

Fetch balance on `brave://rewards` less frequently.
  • Loading branch information
szilardszaloki authored Sep 20, 2023
2 parents 5cf3781 + eae398f commit fcfcdf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function Settings () {
}, [rewardsData.initializing])

React.useEffect(() => {
const id = setInterval(() => { actions.getBalance() }, 60000)
const id = setInterval(() => { actions.getBalance() }, 180000)
return () => { clearInterval(id) }
}, [rewardsData.initializing])

Expand Down

0 comments on commit fcfcdf6

Please sign in to comment.