Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Quick fix: increase token renewal threshold to 3 min #242

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

kimlisa
Copy link
Contributor

@kimlisa kimlisa commented Mar 9, 2021

fixes gravitational/teleport#5889

Description

  • Increased renewal threshold from 22.5 seconds to 3 minutes to handle browsers inactive tab throttling js timers
  • To successfully disable ace editor using web workers is to setOptions first that disables workers, before calling setMode that will call webworker (removes worker error messages when clicking on audit log details)

Testing

Tried testing Firefox but doesn't seem to have inactive tab timer throttling...

Safari throttling:
image

Chrome throttling:
image

@kimlisa kimlisa requested a review from alex-kovoy March 9, 2021 00:16
@alex-kovoy alex-kovoy merged commit 0ec62c1 into master Mar 9, 2021
@alex-kovoy alex-kovoy deleted the lisa/fix-inactive-tab-logout branch April 30, 2021 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Teleport Web UI logs me out if left in inactive tab longer than ~10 min
2 participants