ansible / ansible-rulebook

Apache License 2.0
196 stars 76 forks source link

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

Closed mkanoor closed 3 months ago

mkanoor commented 3 months 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 3 months 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