forked from aquasecurity/tracee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
events_enrich: protect enrich queues with RWLock
RWLock should work fine for protecting the map since writing to the channels is actually just a read from the map to get the channel. Writing to the map is only done in order to create a queue or delete it.
- Loading branch information
1 parent
a3c64bc
commit fb16513
Showing
1 changed file
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters