From 995619af9bc93875e88b284a6e883fcea76c6677 Mon Sep 17 00:00:00 2001 From: odain Date: Tue, 9 Mar 2021 08:27:33 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B03788=20-=20timeout/excessive=20duration?= =?UTF-8?q?=20during=20MTP=20-=20increase=20timeout=20from=205=20to=2030s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- datamodels/2.x/itop-attachments/module.itop-attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datamodels/2.x/itop-attachments/module.itop-attachments.php b/datamodels/2.x/itop-attachments/module.itop-attachments.php index db56390d2..cebd8da03 100644 --- a/datamodels/2.x/itop-attachments/module.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/module.itop-attachments.php @@ -124,7 +124,7 @@ SQL; SetupPage::log_info("Cleanup of orphan attachments that cannot be migrated to the new ObjKey model: $iCount record(s) must be deleted."); $iBulkSize = 100; - $iMaxDuration = 5; + $iMaxDuration = 30; $iDeletedCount = 0; $fStartTime = microtime(true); $aIds = self::GetOrphanAttachmentIds($sTableName, $iBulkSize);