Skip to content

Traffic realtime - when you are browsing the activity table, records disappear and change #2442

Description

@ra-at-diladele-com

The realtime database is regenerated every N seconds (day 30), it means on a server with a lot of connecting users the last N record that we regenerate realtime database with are constantly changing; and when the admin wishes to look at the records - those might be already gone.

We need to:

  • only appends records, monotonously increasing record ID
  • drop records older than N minutes > than the limit set by the admin
  • vacuum the table in sqlite as without this the records are stored forever and the DB will increase without limits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions