Skip to content

Commit

Permalink
dc
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-git committed Apr 10, 2024
1 parent 987ade3 commit 8282643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tracer/src/Datadog.Trace/AppSec/Rcm/ConfigurationStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ internal Dictionary<string, object> BuildDictionaryForWafAccordingToIncomingUpda
}

/// <summary>
/// Calls each file updater to deserialize all remote config payloads and store them in the proper dictionaries with involved merges
/// Calls each file updater to deserialize all remote config payloads and store them in the proper dictionaries with might involve various logical merges
/// This method deserializes everything stored in _fileUpdates. ConfigurationStatus will have a *bigger* memory footprint.
/// </summary>
public void ApplyStoredFiles()
{
Expand Down
1 change: 1 addition & 0 deletions tracer/src/Datadog.Trace/AppSec/Security.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ private ApplyDetails[] UpdateFromRcm(Dictionary<string, List<RemoteConfiguration

try
{
// store the last config state, clearing any previous state, without deserializing any payloads yet.
var anyChange = _configurationStatus.StoreLastConfigState(configsByProduct, removedConfigs);
var securityStateChange = Enabled != _configurationStatus.EnableAsm;

Expand Down

0 comments on commit 8282643

Please sign in to comment.