mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-10 17:12:36 +08:00
Increase incomming message size up to 5Mo
This commit is contained in:
parent
ab5a3be6e2
commit
bb75037c9b
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ public class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer {
|
|||
@Override
|
||||
public void configureWebSocketTransport(final WebSocketTransportRegistration registration) {
|
||||
registration
|
||||
.setMessageSizeLimit(1000 * 1024) // Max outgoing message size => 1Mo
|
||||
.setSendBufferSizeLimit(5000 * 1024); // Max incoming message size => 5Mo
|
||||
.setMessageSizeLimit(5000 * 1024) // Max incoming message size => 5Mo
|
||||
.setSendBufferSizeLimit(5000 * 1024); // Max outgoing buffer size => 5Mo
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue