Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth: fixed session invalidation logic #449

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

martastain
Copy link
Member

@martastain martastain commented Dec 2, 2024

This pull request includes changes to the session management and configuration in the ayon_server module. The most important changes involve updating the session lifetime logic and modifying the default session TTL configuration.

  • Updated the logic to extend the session lifetime only if the remaining TTL is less than the TTL minus 120 seconds. This change ensures that the session is updated more efficiently.
  • Changed the default session TTL from 24 hours to 72 hours to provide a longer session lifetime by default (hold session over the weekend)

@martastain martastain self-assigned this Dec 2, 2024
@martastain martastain added the type: bug Something isn't working label Dec 2, 2024
@martastain martastain merged commit 54b019e into develop Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant