This commit is contained in:
@@ -49,9 +49,17 @@ namespace AyaNova.Api.Controllers
|
||||
serverState = apiServerState;
|
||||
}
|
||||
|
||||
#if (DEBUG)
|
||||
[HttpGet("collect")]
|
||||
public ActionResult GetCollect()
|
||||
{
|
||||
GC.Collect();
|
||||
GC.WaitForPendingFinalizers();
|
||||
GC.Collect();
|
||||
|
||||
|
||||
|
||||
return Ok();
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Get Memory and CPU server metrics for time period specified
|
||||
|
||||
Reference in New Issue
Block a user