Eileen has submitted this change and it was merged.
Change subject: Increase time out while doing exports
......................................................................
Increase time out while doing exports
Bug: T120892
Change-Id: Id786b03fb06469d0d5fb4d5e9e3840e467ff664e
---
M CRM/Export/BAO/Export.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Awight: Looks good to me, approved
jenkins-bot: Verified
diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php
index fae116b..58e419a 100644
--- a/CRM/Export/BAO/Export.php
+++ b/CRM/Export/BAO/Export.php
@@ -664,6 +664,9 @@
$outputColumns[$key] = $value;
}
$limitReached = FALSE;
+ // T120892 I couldn't quite bring myself to put this inside the loop in
case an infinite loop
+ // happened for some reason - which I can't think of - sensible or
paranoid?
+ set_time_limit(ini_get('max_execution_time') + 180);
while (!$limitReached) {
$limitQuery = "{$queryString} LIMIT {$offset}, {$rowCount}";
$dao = CRM_Core_DAO::executeUnbufferedQuery($limitQuery);
--
To view, visit https://gerrit.wikimedia.org/r/275615
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id786b03fb06469d0d5fb4d5e9e3840e467ff664e
Gerrit-PatchSet: 3
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Eileen <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits