mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-29 16:33:40 +01:00
sql query optimization, add server cache hard limit, try catch separate around every block
This commit is contained in:
parent
1bd37ffe70
commit
e83d668724
5 changed files with 91 additions and 39 deletions
|
|
@ -101,13 +101,9 @@ namespace MareSynchronosServer
|
|||
app.UseHttpLogging();
|
||||
|
||||
app.UseRouting();
|
||||
var webSocketOptions = new WebSocketOptions
|
||||
{
|
||||
KeepAliveInterval = TimeSpan.FromSeconds(10),
|
||||
};
|
||||
|
||||
app.UseHttpMetrics();
|
||||
app.UseWebSockets(webSocketOptions);
|
||||
app.UseWebSockets();
|
||||
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue