juntossomosmais / django-outbox-pattern

A django application to make it easier to use the transactional outbox pattern
MIT License
50 stars 7 forks source link

feat: The system will remove messages that are more than 30 days old. #31

Closed ricardochaves closed 1 year ago

ricardochaves commented 1 year ago

The library logs every message in the database to guarantee the outbox and idempotency patterns. Without a logic to clean these tables, the library will use a lot of space in the database, which is not the intended purpose of the library. The default behavior is to maintain all messages that are less than 30 days old in the database and remove the messages after that.

The PR includes tests and updates to the documentation.

hugobrilhante commented 1 year ago

Good job man!

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication