Skip to content

[Feature]: Disable cleanup task and session tracking optionally #2219

Description

@lvalladares

Pre-flight Checklist

  • I have searched existing issues and this hasn't been requested yet.

Problem or Motivation

When the session service is backed by a persistent DB and you want to keep sessions there having a background task that constantly checks for sessions to delete and retrieve the sessions from the DB adds unnecesary stress and load to the DB when no delete is going to be performed.

Proposed Solution

Add a flag to disable the whole session cleanup task and the minimal tracking, leaving just the same-request tracking

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions