Skip to content

Commit

Permalink
Refresh auth data
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliolomeli committed Nov 16, 2022
1 parent 808944e commit 496c28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ function onState (err, _state) {
// Do this at least once a second to give every file in every torrentSummary
// a progress bar and to keep the cursor in sync when playing a video
setInterval(update, 1000)
setInterval(() => controllers.jwtController().loadJwt(), 300000)

// Listen for messages from the main process
setupIpc()
Expand Down

0 comments on commit 496c28c

Please sign in to comment.