-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SUP-49] add daily job to delete sessions according to a SESSION_RETE…
…NTION_DAYS env var (#8813) ## Summary - in the `All` runtime, start a job which runs on start up and every 24 hours that runs session deletion logic to remove any session data from all projects older than `SESSION_RETENTION_DAYS` <!-- Ideally, there is an attached GitHub issue that will describe the "why". If relevant, use this section to call out any additional information you'd like to _highlight_ to the reviewer. --> ## How did you test this change? - tested locally with different `SESSION_RETENTION_DAYS`, confirmed the appropriate sessions were deleted from clickhouse, postgres, and the local filesystem <!-- Frontend - Leave a screencast or a screenshot to visually describe the changes. --> ## Are there any deployment considerations? - no <!-- Backend - Do we need to consider migrations or backfilling data? --> ## Does this work require review from our design team? - no <!-- Request review from julian-highlight / our design team -->
- Loading branch information
1 parent
95cec49
commit bada438
Showing
8 changed files
with
176 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
bada438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
highlight-landing – ./highlight.io
www.highlight.io
docs.highlight.io
highlight-landing-highlight-run.vercel.app
errors.highlight.io
nextjs.highlight.io
observability.highlight.io
nodejs.highlight.io
highlight-landing-git-main-highlight-run.vercel.app
monitor.highlight.io
highlight.io