mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
DEEP-37 Fix for anomaly reporting
This commit is contained in:
parent
c5895adaa5
commit
241d7d434a
@ -44,7 +44,7 @@ internal class AnomalyBase
|
||||
if (_anomalyActive)
|
||||
{
|
||||
_anomalyActive = false;
|
||||
_anomalyReporter.Report(_anomalyStart, _anomalyEnd, "Unconfirmed transaction");
|
||||
// _anomalyReporter.Report(_anomalyStart, _anomalyEnd, "Unconfirmed transaction");
|
||||
_logger.LogWarning($"Anomaly:{Name} ended");
|
||||
}
|
||||
}
|
||||
@ -61,6 +61,7 @@ internal class AnomalyBase
|
||||
_anomalyEnd = _anomalyStart + _anomalyDuration;
|
||||
_anomalyActive = true;
|
||||
_logger.LogWarning($"Anomaly: {Name}. Dice={dice} Ends=\"{_anomalyEnd.ToLocalTime():s}\"");
|
||||
_anomalyReporter.Report(_anomalyStart, _anomalyEnd, $"{Name}");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
@ -23,6 +23,7 @@ namespace QRBee.Load.Generator
|
||||
if (writeHeader)
|
||||
{
|
||||
_writer.WriteLine("Start,End,Label");
|
||||
_writer.Flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user