Expand description
Server-side session management for the signals pipeline.
Sessions are created when the first event arrives for a visitor_id.
They are closed after session_timeout_mins of inactivity.
Functionsยง
- close_
stale_ sessions - Close stale sessions that have been inactive longer than the timeout.
- identify_
session - Link a user_id to an existing session (on identify).
- spawn_
session_ reaper - Spawn a background task that periodically closes stale sessions.
- upsert_
session - Create or update a session for the given visitor.
- upsert_
user - Upsert user in forge_signals_users on identify().