Change parity sync notification to notice level

This commit is contained in:
bergware
2022-03-13 13:52:12 +01:00
parent 924d14bade
commit d04df8dd12

View File

@@ -168,7 +168,7 @@ foreach ($disks as $disk) {
case 'yellow':
if ($warn!=$last) {
if ($var['fsState']!='Stopped') {
$status = $name=='parity' ? "parity-sync in progress" : "drive not ready, content being reconstructed";
$status = $name=='parity' ? "parity-sync in progress" : " is being reconstructed and is available for normal operation";
exec("$notify -l '/Main' -e ".escapeshellarg("Unraid $text message")." -s ".escapeshellarg("Notice [$server] - $text, $status")." -d ".escapeshellarg("$info")." 2>/dev/null");
}
$saved[$item][$name] = $warn;