N°3788 - timeout/excessive duration during MTP - increase timeout from 5 to 30s

This commit is contained in:
odain
2021-03-09 08:27:33 +01:00
parent c842162fe2
commit 995619af9b

View File

@@ -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);