-
- Downloads
Fixes and improvements in mentat-reporter.py module.
There was a bug in reporter module, that caused the events_thresholded cache to be entirely stripped off of any records after each reporting cycle. The cleanup algorithm was all wrong, so the relapse mechanism could never work. This issue is fixed now, but it was necessary to alter SQL schema and make some additional API changes to make everything work. Additionally to have more control over the reporting process the logging features of the module were improved. (Redmine issue: #3378)
Showing
- lib/mentat/module/reporter.py 4 additions, 20 deletionslib/mentat/module/reporter.py
- lib/mentat/reports/event.py 16 additions, 16 deletionslib/mentat/reports/event.py
- lib/mentat/reports/test_utils.py 25 additions, 15 deletionslib/mentat/reports/test_utils.py
- lib/mentat/reports/utils.py 33 additions, 76 deletionslib/mentat/reports/utils.py
- lib/mentat/services/eventstorage.py 191 additions, 47 deletionslib/mentat/services/eventstorage.py
- lib/mentat/services/test_eventstorage.py 46 additions, 25 deletionslib/mentat/services/test_eventstorage.py
Loading
Please register or sign in to comment