goelrajat commented on a change in pull request #143: KNOX-1997: Adding changes
to buffer messages from backend in onMessag…
URL: https://github.com/apache/knox/pull/143#discussion_r322077234
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java
##########
@@ -104,9 +114,33 @@ public void onWebSocketConnect(final Session
frontEndSession) {
throw new RuntimeIOException(e);
}
+ remoteLock.lock();
Review comment:
I tried adding a fixed delay of few seconds but I was still seeing the issue
in some cases. So delay is unpredictable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services