ansible / ansible-rulebook

Apache License 2.0
193 stars 77 forks source link

fix: dont send session stats after every action when audit skipped #704

Closed mkanoor closed 1 month ago

mkanoor commented 1 month ago

https://issues.redhat.com/browse/AAP-28915 When doing performance testing the session stats after every action causes the DB to be updated. If we are skipping audit events we can send the session stats at the regular heartbeat interval and when the rulebook ends.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud