Skip to content

[grid] Make session timeout configurable option for Node role - #9251

Merged
diemol merged 2 commits into
SeleniumHQ:trunkfrom
pujagani:node-session-timeout
Mar 11, 2021
Merged

[grid] Make session timeout configurable option for Node role#9251
diemol merged 2 commits into
SeleniumHQ:trunkfrom
pujagani:node-session-timeout

Conversation

@pujagani

@pujagani pujagani commented Mar 10, 2021

Copy link
Copy Markdown
Contributor

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Fixes partially #9045.

Motivation and Context

The local node in Grid keeps track of current ongoing sessions using a cache. The cache allows setting a timeout for evicting a record if it has not been accessed for the duration of the timeout. This value was hardcoded to 5 minutes. The changes make it configurable.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@diemol diemol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @pujagani!

@diemol
diemol merged commit 69d9aab into SeleniumHQ:trunk Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants