feature/ipc_mgsqueue_printer (#57)

closes #56

Co-authored-by: localhorst <localhorst@mosad.xyz>
Reviewed-on: #57
This commit is contained in:
2022-11-24 20:41:23 +01:00
parent 6f5e0584bf
commit 8938fe5047
11 changed files with 178 additions and 30 deletions

View File

@ -182,7 +182,7 @@ void Drive::checkFrozenDrive(void)
if((u32localtime - this->u32Timestamp) >= (FROZEN_TIMEOUT*60) && (this->u32Timestamp > 0) && (this->getTaskPercentage() < 100.0))
{
Logger::logThis()->warning("Drive Frozen: " + this->getModelName() + " " + this->getSerial());
this->bWasDeleteted = false;
this->bWasDeleted = false;
this->bWasShredded = false;
this->state = Drive::FROZEN;
}