Skip to content

Limit session length #1089

Open
Open
@marandaneto

Description

@marandaneto

Right now session length is hardcoded to 24h

const SESSION_LENGTH_LIMIT = 24 * 3600 * 1000 // 24 hours

We can probably make this much shorter by default (let's say 4 hours?) but also allow it to be set as a configuration.

Very long sessions may cause issues during the playback due to the amount of CPU and RAM consumed.

Tickets https://posthoghelp.zendesk.com/agent/tickets/11727

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions