mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-30 06:53:38 +01:00
fix memory leak, try something different for metrics
This commit is contained in:
parent
0dc4436ba3
commit
95586549e5
2 changed files with 4 additions and 2 deletions
|
|
@ -114,7 +114,8 @@ namespace MareSynchronosServer
|
|||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseMetricServer(4980);
|
||||
var metricServer = new KestrelMetricServer(4980);
|
||||
metricServer.Start();
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue