-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent browser to be created and unused in case a short session-requ…
…est-timeout is set (#12848) * Add logs * Prevent a session to be created while its timeout has expired * restore missing "remove" * Close timedout session on creation to prevent them to be staled * Correct stopping of expired sessions * Remove logs for final commit * removed a test that is now useless as request session timeout is now strict * Simplify session stopping if timeout expires * Add some tests * remove logs * Return value directly * remove unused method * Removed hard coded value * correct according to comments * Correct according to comments * Remove spaces * remove spaces * Remove unused import * Add comments to tell why session is valid * fix linter issues * Add a test when session time out * test improved * Running format script --------- Co-authored-by: titusfortner <[email protected]> Co-authored-by: Diego Molina <[email protected]> Co-authored-by: Diego Molina <[email protected]>
- Loading branch information
1 parent
cfe7e1f
commit cee7f6b
Showing
8 changed files
with
385 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.