From b521137149c5e09c2c4db21e9df360b937d4f059 Mon Sep 17 00:00:00 2001 From: Shmuel Fogel Date: Wed, 13 Sep 2023 12:53:10 +0300 Subject: [PATCH] Update src/Appwrite/Platform/Tasks/Backup.php Co-authored-by: Jake Barnby --- src/Appwrite/Platform/Tasks/Backup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Tasks/Backup.php b/src/Appwrite/Platform/Tasks/Backup.php index 0874df5c1c..86e6239008 100644 --- a/src/Appwrite/Platform/Tasks/Backup.php +++ b/src/Appwrite/Platform/Tasks/Backup.php @@ -313,6 +313,6 @@ class Backup extends Action throw new Exception('Set Processors Error'); } - $this->processors = $processors; + $this->processors = \max(1, $processors - 2); } }