Skip to content

fix(server): implement EventRetentionCleanupService for EVENT_RETENTION_DAYS (#174) - #242

Open
nomsoscript wants to merge 1 commit into
Cylo-Traders:masterfrom
nomsoscript:fix/event-retention-cleanup-174
Open

fix(server): implement EventRetentionCleanupService for EVENT_RETENTION_DAYS (#174)#242
nomsoscript wants to merge 1 commit into
Cylo-Traders:masterfrom
nomsoscript:fix/event-retention-cleanup-174

Conversation

@nomsoscript

Copy link
Copy Markdown
Contributor

Summary

Resolves #174 by introducing EventRetentionCleanupService to enforce EVENT_RETENTION_DAYS config and safely purge audit log rows older than the retention window.

Changes Made

  • Created server/src/services/eventRetentionCleanup.service.ts defining retention window calculation and cleanup execution.

Related Issue

Closes #174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] EVENT_RETENTION_DAYS is fully validated as a config option but no retention or cleanup job exists anywhere

1 participant