-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ref(crons): Move save out of update_config
#58826
ref(crons): Move save out of update_config
#58826
Conversation
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.
did you forget to remove the .save()
from models.py
?
Good catch, missed it when staging |
abe1c00
to
9142b7c
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #58826 +/- ##
==========================================
- Coverage 80.62% 80.62% -0.01%
==========================================
Files 5154 5154
Lines 225708 225736 +28
Branches 38029 38032 +3
==========================================
+ Hits 181969 181991 +22
- Misses 38184 38189 +5
- Partials 5555 5556 +1
|
It's probably better to be explicit here. I would like to make some other changes to the monitor outside of just updating the config in some places. So I don't want to call save twice.
9142b7c
to
73e30d0
Compare
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
bumping old comment |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
It's probably better to be explicit here.
I would like to make some other changes to the monitor outside of just
updating the config in some places. So I don't want to call save twice.