Max buf len from constants
This commit is contained in:
parent
89db4a4251
commit
5f4f698b5b
5 changed files with 6 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ namespace Yavsc
|
|||
var webSocketOptions = new WebSocketOptions()
|
||||
{
|
||||
KeepAliveInterval = TimeSpan.FromSeconds(120),
|
||||
ReceiveBufferSize = 16 * 1024,
|
||||
ReceiveBufferSize = Constants.WebSocketsMaxBufLen,
|
||||
ReplaceFeature = true
|
||||
};
|
||||
app.UseWebSockets(webSocketOptions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue