Update src/Appwrite/Platform/Tasks/Backup.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Shmuel Fogel
2023-09-13 12:53:10 +03:00
committed by GitHub
co-authored by Jake Barnby
parent 3dc82bcaca
commit b521137149
+1 -1
View File
@@ -313,6 +313,6 @@ class Backup extends Action
throw new Exception('Set Processors Error');
}
$this->processors = $processors;
$this->processors = \max(1, $processors - 2);
}
}