Closed nr-swilloughby closed 1 year ago
:exclamation: No coverage uploaded for pull request base (
develop@99f46e0
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## develop #756 +/- ##
==========================================
Coverage ? 82.33%
==========================================
Files ? 136
Lines ? 12187
Branches ? 0
==========================================
Hits ? 10034
Misses ? 1893
Partials ? 260
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Since the fix to the race condition mentioned in PR 754 needs to lock and unlock a
Transaction
mutex each time a segment is created, this PR adds a check first so that if there is no security agent installed at all, we don't attempt the security call at all, removing the race condition and mutex overhead in that case. If a security agent is installed, then the mutex-protected code will be used to prevent the race condition.