Skip to content

Commit

Permalink
TargetKeys Map changed to ConcurrentHashMap (#7603)
Browse files Browse the repository at this point in the history
Signed-off-by: David Kral <[email protected]>
  • Loading branch information
Verdent authored Sep 27, 2023
1 parent aa1e1d8 commit 24fe012
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.util.Optional;
import java.util.Set;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentHashMap;

import io.helidon.config.Config;
import io.helidon.config.metadata.Configured;
Expand Down Expand Up @@ -76,7 +77,7 @@ public final class HttpSignProvider implements AuthenticationProvider, OutboundS
private final Map<String, InboundClientDefinition> inboundKeys;
private final OutboundConfig outboundConfig;
// cache of target name to a signature configuration for outbound calls
private final Map<String, OutboundTargetDefinition> targetKeys = new HashMap<>();
private final Map<String, OutboundTargetDefinition> targetKeys = new ConcurrentHashMap<>();
private final boolean backwardCompatibleEol;

private HttpSignProvider(Builder builder) {
Expand Down

0 comments on commit 24fe012

Please sign in to comment.