diff --git a/src/renderer/main.js b/src/renderer/main.js index a8d6067f34..0bb148fec9 100644 --- a/src/renderer/main.js +++ b/src/renderer/main.js @@ -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()