Skip to content

Commit d9687f7

Browse files
authored
Merge pull request #189 from project-sunbird/profileVisibility
Issues #SB-0000 fix: Unable to communicate to actor issue
2 parents ba3d2a6 + 6396632 commit d9687f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actor-util/src/main/java/org/sunbird/actorutil/systemsettings/impl/SystemSettingClientImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import akka.actor.ActorRef;
44
import java.util.HashMap;
55
import java.util.Map;
6+
import java.util.concurrent.ConcurrentHashMap;
67
import org.sunbird.actorutil.InterServiceCommunication;
78
import org.sunbird.actorutil.InterServiceCommunicationFactory;
89
import org.sunbird.actorutil.systemsettings.SystemSettingClient;
@@ -22,7 +23,7 @@ public class SystemSettingClientImpl implements SystemSettingClient {
2223
InterServiceCommunicationFactory.getInstance();
2324
private static SystemSettingClientImpl systemSettingClient = null;
2425
private static Map<String, SystemSetting> systemSettingsMap =
25-
new HashMap<String, SystemSetting>();
26+
new ConcurrentHashMap<String, SystemSetting>();
2627

2728
public static SystemSettingClientImpl getInstance() {
2829
if (null == systemSettingClient) {

0 commit comments

Comments
 (0)