mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Fix #229
This commit is contained in:
parent
84a9132f5e
commit
ad08a5ac4f
@ -17,9 +17,11 @@ import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@WebSocket
|
||||
@WebSocket(maxTextMessageSize = SocketServer.MAX_TXT_MESSAGE_SIZE)
|
||||
public class SocketServer {
|
||||
|
||||
static final int MAX_TXT_MESSAGE_SIZE = 1024 * 1024 * 10;
|
||||
|
||||
private final OnlineUserManager onlineUserManager = new OnlineUserManager();
|
||||
|
||||
private final MessageDispatcher messageDispatcher = new MessageDispatcher();
|
||||
|
Loading…
x
Reference in New Issue
Block a user