update shred metric in main thread instead of shred thread

This commit is contained in:
2022-08-22 18:35:27 +02:00
parent 09446b52ca
commit edcf680b95
4 changed files with 37 additions and 10 deletions

View File

@ -27,6 +27,7 @@ public:
time_t u32ShredTimeDelta;
std::chrono::time_point<std::chrono::system_clock> chronoShredTimestamp;
unsigned long ulWrittenBytes;
unsigned long ulSpeedMetricBytesWritten;
} sShredSpeed;
bool bWasShredded = false;