This commit is contained in:
@@ -15,16 +15,16 @@ namespace AyaNova.Biz
|
||||
internal static class CoreJobMetricsSnapshot
|
||||
{
|
||||
private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("CoreJobMetricsSnapshot");
|
||||
private static TimeSpan tsDataRetention = new TimeSpan(396, 0, 0, 0, 0);//one year and one month approximately
|
||||
private static TimeSpan tsDataRetention = new TimeSpan(365, 0, 0, 0, 0);//one year
|
||||
private static Process _process = Process.GetCurrentProcess();
|
||||
|
||||
private static TimeSpan _oldCPUTime = TimeSpan.Zero;
|
||||
private static DateTime _lastSnapshot = DateTime.UtcNow;
|
||||
private static DateTime _lastRpsTime = DateTime.UtcNow;
|
||||
// private static DateTime _lastRpsTime = DateTime.UtcNow;
|
||||
private static double _cpu = 0;
|
||||
|
||||
#if(DEBUG)
|
||||
private static TimeSpan tsOneMinute = new TimeSpan(0, 0, 10);
|
||||
private static TimeSpan tsOneMinute = new TimeSpan(0, 1,0);
|
||||
#else
|
||||
private static TimeSpan tsOneMinute = new TimeSpan(0, 1, 0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user