Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flush command #29

Merged
merged 3 commits into from
Oct 30, 2024
Merged

Add a flush command #29

merged 3 commits into from
Oct 30, 2024

Conversation

Viicos
Copy link
Contributor

@Viicos Viicos commented Feb 22, 2024

Fixes #26

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 5 lines in your changes missing coverage. Please review.

Project coverage is 83.16%. Comparing base (b602d9a) to head (c5c8d26).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
..._logger/management/commands/prune_timeline_logs.py 80.95% 2 Missing and 2 partials ⚠️
timeline_logger/service.py 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   83.13%   83.16%   +0.03%     
==========================================
  Files          11       13       +2     
  Lines         166      196      +30     
  Branches       13       16       +3     
==========================================
+ Hits          138      163      +25     
- Misses         25       27       +2     
- Partials        3        6       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Viicos Viicos force-pushed the flush-cmd branch 3 times, most recently from 8ec60a3 to f032ad1 Compare March 29, 2024 10:07
@Viicos Viicos marked this pull request as ready for review March 29, 2024 10:09
tests/test_management_commands.py Outdated Show resolved Hide resolved
tests/test_management_commands.py Outdated Show resolved Hide resolved
tests/test_management_commands.py Outdated Show resolved Hide resolved
@Viicos Viicos requested a review from sergei-maertens March 29, 2024 13:07
@sergei-maertens sergei-maertens merged commit 42c1e00 into master Oct 30, 2024
13 checks passed
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.

Add a management command to prune logs after a certain amount of time
2 participants