API transaction analyser (civicrm_api3_banking_transaction_analyseoldest) currently has an argument to parse a number of transactions, started by the oldest one (value_date). This can potentially run into problems with larger amounts of transactions and a badly set PHP execution time when called from Cron.
Instead it would make sense to change this to an execution time, and respect the php max_execution_time as well.
civicrm_api3_banking_transaction_analyseoldest should be extended to use seconds as an alternate parameter. The parameter should be in seconds, and shall not exceed the php max_execution_time configured.
API transaction analyser (civicrm_api3_banking_transaction_analyseoldest) currently has an argument to parse a number of transactions, started by the oldest one (value_date). This can potentially run into problems with larger amounts of transactions and a badly set PHP execution time when called from Cron. Instead it would make sense to change this to an execution time, and respect the php max_execution_time as well.
civicrm_api3_banking_transaction_analyseoldest should be extended to use seconds as an alternate parameter. The parameter should be in seconds, and shall not exceed the php max_execution_time configured.