mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
make websocket send threadsafe
This commit is contained in:
parent
578fdf3e06
commit
0b60743530
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ public class NotebookSocket extends WebSocketAdapter {
|
|||
return protocol;
|
||||
}
|
||||
|
||||
public void send(String serializeMessage) throws IOException {
|
||||
public synchronized void send(String serializeMessage) throws IOException {
|
||||
connection.getRemote().sendString(serializeMessage);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue