"Jpostlethwaite" posted a comment on Wikimedia.r1336. URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1336#c31518
Commit summary for Wikimedia.r1336: Added two methods to query the database for payments: _civicrm_recurring_globalcollect_get_next_sched_contribution() and _civicrm_recurring_globalcollect_get_failure_retry_date(). See r1335. Jpostlethwaite's comment: BETWEEN appears twice as fast with a data set of 10,000 records. I will add more records to get some better results to confirm. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview