Ticket #3213 (closed enhancement: Fixed)
Add a commit() to UpdateCheck to make sure dmd.lastVersionCheckDate gets updated
| Reported by: | jstevens | Owned by: | jstevens |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | zenoss-2.3 |
| Component: | All | Version: | 2.2.0 |
| Keywords: | zenoss-2.2.1-verified | Cc: | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
We have quite a few installs of zenoss that are checking their version number very frequently, as much as once a minute in some cases. This might be because the sendEvent in UpdateCheck.check() (or something near it in the code) is throwing an exception and keeping the dmd.lastVersionCheckAttempt setting from being committed.
If it is not a manual check, ie if this is zenactions checking, then commit immediately after setting dmd.lastVersionCheckAttempt to make sure that gets stored and the version isn't checked for another day.
Change History
Note: See
TracTickets for help on using
tickets.