You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change3211181on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change3228697on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
442 lines
15 KiB
C#
442 lines
15 KiB
C#
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Tools.CrashReporter.CrashReportCommon;
|
|
|
|
namespace Tools.CrashReporter.CrashReportProcess
|
|
{
|
|
class StatusReportingMeanCounter
|
|
{
|
|
public int TotalMillisec { get; set; }
|
|
public int SampleCount { get; set; }
|
|
|
|
public StatusReportingMeanCounter() { }
|
|
|
|
public StatusReportingMeanCounter(StatusReportingMeanCounter LastPeriod, StatusReportingMeanCounter Total)
|
|
{
|
|
TotalMillisec = Total.TotalMillisec - LastPeriod.TotalMillisec;
|
|
SampleCount = Total.SampleCount - LastPeriod.SampleCount;
|
|
}
|
|
}
|
|
|
|
class StatusReporting : IDisposable
|
|
{
|
|
public void InitCounters(IEnumerable<string> CounterNames)
|
|
{
|
|
foreach (string CounterName in CounterNames)
|
|
{
|
|
if (!Counters.ContainsKey(CounterName))
|
|
{
|
|
Counters.Add(CounterName, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
public void InitMeanCounters(IEnumerable<string> CounterNames)
|
|
{
|
|
foreach (string CounterName in CounterNames)
|
|
{
|
|
if (!MeanCounters.ContainsKey(CounterName))
|
|
{
|
|
MeanCounters.Add(CounterName, new StatusReportingMeanCounter());
|
|
}
|
|
}
|
|
}
|
|
|
|
public void InitFolderMonitors(IDictionary<string, string> InFolderMonitors)
|
|
{
|
|
// Collapse list of folders and labels into a set of drive letters and one or more labels
|
|
foreach (var FolderAndLabel in InFolderMonitors)
|
|
{
|
|
if (!string.IsNullOrWhiteSpace(FolderAndLabel.Key))
|
|
{
|
|
string Drive;
|
|
if (CrashReportCommon.StorageSpaceHelper.TryGetDriveLetter(FolderAndLabel.Key, out Drive))
|
|
{
|
|
if (FolderMonitors.ContainsKey(Drive))
|
|
{
|
|
// Add label to existing value
|
|
FolderMonitors[Drive] = FolderMonitors[Drive] + ", " + FolderAndLabel.Value;
|
|
}
|
|
else
|
|
{
|
|
FolderMonitors.Add(Drive, FolderAndLabel.Value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public void InitQueue(string QueueName, string QueueLocation)
|
|
{
|
|
QueueLocations.Add(QueueName, QueueLocation);
|
|
QueueSizes.Add(QueueName, 0);
|
|
}
|
|
|
|
public void SetQueueSize(string QueueName, int Size)
|
|
{
|
|
lock (DataLock)
|
|
{
|
|
QueueSizes[QueueName] = Size;
|
|
SetQueueSizesCallCount++;
|
|
}
|
|
}
|
|
|
|
public void IncrementCount(string CountName)
|
|
{
|
|
lock (DataLock)
|
|
{
|
|
if (Counters.ContainsKey(CountName))
|
|
{
|
|
Counters[CountName]++;
|
|
}
|
|
else
|
|
{
|
|
Counters.Add(CountName, 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
public void AddToMeanCounter(string CountName, int Millisec)
|
|
{
|
|
lock (DataLock)
|
|
{
|
|
if (!MeanCounters.ContainsKey(CountName))
|
|
{
|
|
MeanCounters.Add(CountName, new StatusReportingMeanCounter());
|
|
}
|
|
|
|
MeanCounters[CountName].TotalMillisec += Millisec;
|
|
MeanCounters[CountName].SampleCount++;
|
|
}
|
|
}
|
|
|
|
public void Alert(string AlertKey, string AlertText, int RepeatMinimumMinutes)
|
|
{
|
|
// Do "no repeat" check here of recent alerts and block duplicates based on timer (use AlertKey)
|
|
if (CheckRecentAlerts(AlertKey, RepeatMinimumMinutes))
|
|
{
|
|
// Report an alert condition to Slack immediately
|
|
CrashReporterProcessServicer.WriteSlack("@channel ALERT: " + AlertText);
|
|
}
|
|
}
|
|
|
|
public void AlertOnLowDisk(string Filepath, float AlertThresholdPercent)
|
|
{
|
|
try
|
|
{
|
|
string Drive;
|
|
if (!StorageSpaceHelper.TryGetDriveLetter(Filepath, out Drive))
|
|
{
|
|
throw new CrashReporterException("Failed to get drive letter for path " + Filepath);
|
|
}
|
|
|
|
Int64 FreeSpace;
|
|
float FreePercent;
|
|
if (StorageSpaceHelper.TryGetSpaceAvailable(Drive, out FreeSpace, out FreePercent))
|
|
{
|
|
if (FreePercent < AlertThresholdPercent)
|
|
{
|
|
Alert("AlertOnLowDisk" + Drive, "Low disk space warning on " + Drive + " =>> " + GetDiskSpaceString(FreeSpace, FreePercent), 3 * Config.Default.SlackAlertRepeatMinimumMinutes);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
CrashReporterProcessServicer.WriteEvent("Failed to read disk space for " + Drive);
|
|
}
|
|
}
|
|
catch (Exception Ex)
|
|
{
|
|
CrashReporterProcessServicer.WriteException("AlertOnLowDisk failed: " + Ex, Ex);
|
|
}
|
|
}
|
|
|
|
public void AlertOnConsecutiveFails(string AlertKey, string AlertText, string RecoveredText, TimeSpan TimeSinceSuccessThreshold, bool bSucceeded)
|
|
{
|
|
try
|
|
{
|
|
lock (DataLock)
|
|
{
|
|
if (bSucceeded)
|
|
{
|
|
// Success - clear from list of failing keys
|
|
DateTime FailAlertStartTime;
|
|
if (FailAlertStartTimes.TryGetValue(AlertKey, out FailAlertStartTime))
|
|
{
|
|
if (FailAlertStartTime == DateTime.MaxValue)
|
|
{
|
|
Alert(AlertKey, RecoveredText, 0);
|
|
}
|
|
FailAlertStartTimes.Remove(AlertKey);
|
|
}
|
|
}
|
|
else if (!FailAlertStartTimes.ContainsKey(AlertKey))
|
|
{
|
|
// Failed but no record yet - first failure so note the time
|
|
FailAlertStartTimes.Add(AlertKey, DateTime.UtcNow);
|
|
}
|
|
else
|
|
{
|
|
// Failed and not the first consecutive fail
|
|
TimeSpan TimeSinceStartedFailing = DateTime.UtcNow - FailAlertStartTimes[AlertKey];
|
|
if (TimeSinceStartedFailing > TimeSinceSuccessThreshold)
|
|
{
|
|
FailAlertStartTimes[AlertKey] = DateTime.MaxValue; // forces future fails to make TimeSinceStartedFailing negative until at least one success
|
|
Alert(AlertKey, AlertText, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
catch (Exception Ex)
|
|
{
|
|
CrashReporterProcessServicer.WriteException("AlertOnConsecutiveFails failed: " + Ex, Ex);
|
|
}
|
|
}
|
|
|
|
public void Start()
|
|
{
|
|
CrashReporterProcessServicer.WriteSlack(string.Format("CRP started (version {0})", Config.Default.VersionString));
|
|
|
|
StringBuilder StartupMessage = new StringBuilder();
|
|
|
|
StartupMessage.AppendLine("Queues...");
|
|
foreach (var Queue in QueueLocations)
|
|
{
|
|
StartupMessage.AppendLine("> " + Queue.Key + " @ " + Queue.Value);
|
|
}
|
|
CrashReporterProcessServicer.WriteSlack(StartupMessage.ToString());
|
|
|
|
List<StatusReportLoop> StatusReportLoops = new List<StatusReportLoop>();
|
|
|
|
StatusReportLoops.Add(
|
|
new RegularStatusReport(TimeSpan.FromMinutes(Config.Default.MinutesBetweenQueueSizeReports), (InLoop, InPeriod) =>
|
|
{
|
|
RegularStatusReport ThisLoop = (RegularStatusReport)InLoop;
|
|
StringBuilder StatusReportMessage = new StringBuilder();
|
|
lock (DataLock)
|
|
{
|
|
Dictionary<string, int> CountsInPeriod = ThisLoop.GetCountsInPeriod(Counters);
|
|
|
|
if (SetQueueSizesCallCount >= QueueSizes.Count)
|
|
{
|
|
int ProcessingStartedInPeriodReceiver = 0;
|
|
CountsInPeriod.TryGetValue(StatusReportingEventNames.ProcessingStartedReceiverEvent, out ProcessingStartedInPeriodReceiver);
|
|
int ProcessingStartedInPeriodDataRouter = 0;
|
|
CountsInPeriod.TryGetValue(StatusReportingEventNames.ProcessingStartedDataRouterEvent, out ProcessingStartedInPeriodDataRouter);
|
|
int ProcessingStartedInPeriod = ProcessingStartedInPeriodReceiver + ProcessingStartedInPeriodDataRouter;
|
|
|
|
if (ProcessingStartedInPeriod > 0)
|
|
{
|
|
int QueueSizeSum = QueueSizes.Values.Sum();
|
|
TimeSpan MeanWaitTime =
|
|
TimeSpan.FromTicks((long)(0.5*InPeriod.Ticks*(QueueSizeSum + ThisLoop.QueueSizeSumAtLastReport)/ProcessingStartedInPeriod));
|
|
ThisLoop.QueueSizeSumAtLastReport = QueueSizeSum;
|
|
|
|
int WaitMinutes = Convert.ToInt32(MeanWaitTime.TotalMinutes);
|
|
string WaitTimeString;
|
|
if (MeanWaitTime == TimeSpan.Zero)
|
|
{
|
|
WaitTimeString = "nil";
|
|
}
|
|
else if (MeanWaitTime < TimeSpan.FromMinutes(1))
|
|
{
|
|
WaitTimeString = "< 1 minute";
|
|
}
|
|
else if (WaitMinutes == 1)
|
|
{
|
|
WaitTimeString = "1 minute";
|
|
}
|
|
else
|
|
{
|
|
WaitTimeString = string.Format("{0} minutes", WaitMinutes);
|
|
}
|
|
StatusReportMessage.AppendLine("Queue waiting time " + WaitTimeString);
|
|
}
|
|
|
|
StatusReportMessage.AppendLine("Queue sizes...");
|
|
StatusReportMessage.Append("> ");
|
|
foreach (var Queue in QueueSizes)
|
|
{
|
|
StatusReportMessage.Append(Queue.Key + " " + Queue.Value + " ");
|
|
}
|
|
StatusReportMessage.AppendLine();
|
|
}
|
|
if (CountsInPeriod.Values.Sum() > 0)
|
|
{
|
|
string PeriodTimeString = GetTimePeriodString(InPeriod);
|
|
|
|
StatusReportMessage.AppendLine(string.Format("Events in the last {0}...", PeriodTimeString));
|
|
foreach (var CountInPeriod in CountsInPeriod)
|
|
{
|
|
if (CountInPeriod.Value > 0)
|
|
{
|
|
StatusReportMessage.AppendLine("> " + CountInPeriod.Key + " " + CountInPeriod.Value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return StatusReportMessage.ToString();
|
|
}));
|
|
|
|
StatusReportLoops.Add(
|
|
new DiskStatusReport(TimeSpan.FromDays(1.0), (InLoop, InPeriod) =>
|
|
{
|
|
StringBuilder DailyReportMessage = new StringBuilder();
|
|
lock (DataLock)
|
|
{
|
|
DailyReportMessage.AppendLine("Disk space available...");
|
|
|
|
foreach (var FolderMonitor in FolderMonitors)
|
|
{
|
|
string FreeSpaceText = "#Error";
|
|
string Drive = FolderMonitor.Key;
|
|
Int64 FreeSpace;
|
|
float FreePercent;
|
|
if (CrashReportCommon.StorageSpaceHelper.TryGetSpaceAvailable(Drive, out FreeSpace, out FreePercent))
|
|
{
|
|
FreeSpaceText = GetDiskSpaceString(FreeSpace, FreePercent);
|
|
}
|
|
|
|
DailyReportMessage.AppendLine("> " + FolderMonitor.Value + " =>> " + FreeSpaceText);
|
|
}
|
|
}
|
|
return DailyReportMessage.ToString();
|
|
}));
|
|
|
|
if (Config.Default.MonitorPerformance)
|
|
{
|
|
StatusReportLoops.Add(
|
|
new PerfStatusReport(TimeSpan.FromMinutes(10), (InLoop, InPeriod) =>
|
|
{
|
|
PerfStatusReport ThisLoop = (PerfStatusReport)InLoop;
|
|
StringBuilder PerfReportMessage = new StringBuilder();
|
|
lock (DataLock)
|
|
{
|
|
Dictionary<string, StatusReportingMeanCounter> MeanCountsInPeriod = ThisLoop.GetMeanCountsInPeriod(MeanCounters);
|
|
|
|
if (MeanCountsInPeriod.Count > 0)
|
|
{
|
|
string PeriodTimeString = GetTimePeriodString(InPeriod);
|
|
PerfReportMessage.AppendLine(string.Format("Performance in the last {0}...", PeriodTimeString));
|
|
|
|
foreach (var MeanCountInPeriod in MeanCountsInPeriod)
|
|
{
|
|
if (MeanCountInPeriod.Value.SampleCount == 0)
|
|
{
|
|
PerfReportMessage.AppendLine("> " + MeanCountInPeriod.Key + ": nil");
|
|
}
|
|
else
|
|
{
|
|
PerfReportMessage.AppendLine("> " + MeanCountInPeriod.Key + ": Total " +
|
|
PerfStatusReport.GetPerfTimeString((float)MeanCountInPeriod.Value.TotalMillisec) +
|
|
" / Count " + MeanCountInPeriod.Value.SampleCount +
|
|
" = Mean " +
|
|
PerfStatusReport.GetPerfTimeString(MeanCountInPeriod.Value.TotalMillisec/(float)MeanCountInPeriod.Value.SampleCount));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
return PerfReportMessage.ToString();
|
|
}));
|
|
}
|
|
|
|
ReporterTasks = StatusReportLoops;
|
|
}
|
|
|
|
public void OnPreStopping()
|
|
{
|
|
CrashReporterProcessServicer.WriteSlack("CRP stopping...");
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
if (ReporterTasks != null)
|
|
{
|
|
foreach (var ReporterTask in ReporterTasks)
|
|
{
|
|
ReporterTask.Dispose();
|
|
}
|
|
}
|
|
|
|
CrashReporterProcessServicer.WriteSlack("CRP stopped");
|
|
}
|
|
|
|
private static string GetTimePeriodString(TimeSpan InPeriod)
|
|
{
|
|
if (InPeriod.TotalMinutes < 1.0)
|
|
{
|
|
return string.Format("{0:N0} seconds", InPeriod.TotalSeconds);
|
|
}
|
|
|
|
return string.Format("{0:N0} minutes", InPeriod.TotalMinutes);
|
|
}
|
|
|
|
private static string GetDiskSpaceString(long FreeSpace, float FreePercent)
|
|
{
|
|
string FreeSpaceText;
|
|
const long KB = 1 << 10;
|
|
const long MB = 1 << 20;
|
|
const long GB = 1 << 30;
|
|
if (FreeSpace > GB)
|
|
{
|
|
FreeSpaceText = (FreeSpace / GB) + " GB";
|
|
}
|
|
else if (FreeSpace > MB)
|
|
{
|
|
FreeSpaceText = (FreeSpace / MB) + " MB";
|
|
}
|
|
else if (FreeSpace > KB)
|
|
{
|
|
FreeSpaceText = (FreeSpace / KB) + " KB";
|
|
}
|
|
else
|
|
{
|
|
FreeSpaceText = FreeSpace + " bytes";
|
|
}
|
|
|
|
FreeSpaceText += string.Format(" ({0:P1})", FreePercent*0.01f);
|
|
return FreeSpaceText;
|
|
}
|
|
|
|
private bool CheckRecentAlerts(string AlertKey, int RepeatMinimumMinutes)
|
|
{
|
|
lock (DataLock)
|
|
{
|
|
// Check RecentAlerts for a matching entry without the time period
|
|
// that limits repeats Config.Default.SlackAlertRepeatMinimumMinutes
|
|
if (RecentAlerts.ContainsKey(AlertKey))
|
|
{
|
|
DateTime LastMatchingAlert = RecentAlerts[AlertKey];
|
|
TimeSpan RepeatMinimum = TimeSpan.FromMinutes(RepeatMinimumMinutes);
|
|
|
|
if (LastMatchingAlert < DateTime.UtcNow - RepeatMinimum)
|
|
{
|
|
RecentAlerts[AlertKey] = DateTime.UtcNow;
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
RecentAlerts.Add(AlertKey, DateTime.UtcNow);
|
|
return true;
|
|
}
|
|
}
|
|
|
|
private IEnumerable<StatusReportLoop> ReporterTasks;
|
|
private readonly Dictionary<string, string> QueueLocations = new Dictionary<string, string>();
|
|
private readonly Dictionary<string, int> QueueSizes = new Dictionary<string, int>();
|
|
private readonly Dictionary<string, int> Counters = new Dictionary<string, int>();
|
|
private readonly Dictionary<string, StatusReportingMeanCounter> MeanCounters = new Dictionary<string, StatusReportingMeanCounter>();
|
|
private readonly Dictionary<string, string> FolderMonitors = new Dictionary<string, string>();
|
|
private readonly Object DataLock = new Object();
|
|
private int SetQueueSizesCallCount = 0;
|
|
private readonly Dictionary<string, DateTime> RecentAlerts = new Dictionary<string, DateTime>();
|
|
private readonly Dictionary<string, DateTime> FailAlertStartTimes = new Dictionary<string, DateTime>();
|
|
}
|
|
}
|