-
Notifications
You must be signed in to change notification settings - Fork 16
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
Don't call save on devices, links, or LOSes unnecessarily #819
Conversation
cde40dd
to
5530895
Compare
5530895
to
71c4613
Compare
Confirmed this test fails on main and works on my branch. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #819 +/- ##
==========================================
+ Coverage 94.88% 94.90% +0.01%
==========================================
Files 89 89
Lines 3816 3825 +9
==========================================
+ Hits 3621 3630 +9
Misses 195 195 ☔ View full report in Codecov by Sentry. |
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.
I think we're gonna be unhappy with how spammy the UISP id rotation slack messages are, but we can try it
Closes #790
This prevents the UISP import script from calling save on our objects unnecessarily, which should stop the history tables from ballooning like they do.
See https://django-simple-history.readthedocs.io/en/3.8.0/utils.html#clean-duplicate-history for more info