Skip to content

Conversation

@max-andreasen
Copy link
Contributor

Did some changes to couchdb interface to consistant with mongodb interface for session management.

  • Removed try-catch blocks, errors are caught from upper layer.
  • isExpired and isActive flags now working with couchdb (previously didn't query on ISO date string).
    • New Date query for lastSeenAt checked with both couchdb and mongodb.
  • Changed SESSION_PRUNE_SECONDS to 7200 seconds instead of 60 (since isExpired now removed the visual state of the session in frontend after 100s).
  • Session pruning interval now runs every 5th minute instead of every minute.

@max-andreasen max-andreasen requested a review from birme as a code owner December 11, 2025 11:21
@birme birme merged commit 040109c into Eyevinn:main Dec 11, 2025
3 checks passed
@max-andreasen max-andreasen deleted the fix/couchdb-interface branch December 11, 2025 12:48
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