jongyoul commented on code in PR #4800: URL: https://github.com/apache/zeppelin/pull/4800#discussion_r1730203344
########## zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookSocket.java: ########## @@ -42,7 +42,7 @@ public String getHeader(String key) { return String.valueOf(headers.get(key)); } - public void send(String serializeMessage) throws IOException { + public synchronized void send(String serializeMessage) throws IOException { Review Comment: synchronized method is not a proper solution for it. How about making it an asynchronous function? -- 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. To unsubscribe, e-mail: reviews-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org