mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixing BulkLoader to use increase_time_limit_to()
This commit is contained in:
parent
bc64de0264
commit
9bb190813f
@ -135,7 +135,7 @@ abstract class BulkLoader extends ViewableData {
|
|||||||
* @return BulkLoader_Result See {@link self::processAll()}
|
* @return BulkLoader_Result See {@link self::processAll()}
|
||||||
*/
|
*/
|
||||||
public function load($filepath) {
|
public function load($filepath) {
|
||||||
ini_set('max_execution_time', 3600);
|
increase_time_limit_to(3600);
|
||||||
increase_memory_limit_to('512M');
|
increase_memory_limit_to('512M');
|
||||||
|
|
||||||
//get all instances of the to be imported data object
|
//get all instances of the to be imported data object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user