Skip to content

Commit 356718e

Browse files
committed
fix: increase token expiration check interval from 1s to 5s for improved performance
1 parent 7a28704 commit 356718e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/js/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ function startExpirationCheck() {
371371
clearAccessToken(schemeKey);
372372
}
373373
});
374-
}, 1000); // Check every second
374+
}, 5000); // Check 5 seconds
375375
}
376376

377377
// Helper function to check if a scheme is authenticated

0 commit comments

Comments
 (0)