From d0c2403f1f7088d60b135976c40917302daf8b9e Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Tue, 22 Feb 2022 13:50:12 +0000 Subject: Fix bottleneck on simulator requests Removes unnecessary synchronized in one of the simulator methods, which almost all calls pass through. This was restricting to execute calls in parallel. Change-Id: I7c53eee951c02031b78adacdc292aa51e6e66186 Issue-ID: SDC-3885 Signed-off-by: andre.schmid --- .../src/main/java/org/openecomp/sdc/webseal/simulator/SdcProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/webseal-simulator/src/main/java/org') diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/SdcProxy.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/SdcProxy.java index 51d6796c4c..0637f7e29f 100644 --- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/SdcProxy.java +++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/SdcProxy.java @@ -146,7 +146,7 @@ public class SdcProxy extends HttpServlet { proxy(request, response, MethodEnum.DELETE); } - private synchronized void proxy(HttpServletRequest request, HttpServletResponse response, MethodEnum methodEnum) throws IOException { + private void proxy(HttpServletRequest request, HttpServletResponse response, MethodEnum methodEnum) throws IOException { Map requestParameters = request.getParameterMap(); String userIdHeader = getUseridFromRequest(request); -- cgit 1.2.3-korg