Skip to content

Commit 0a74d7e

Browse files
committed
increase max execution time for data export Pixilib/GaelO_Issues#345
1 parent 02ec513 commit 0a74d7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GaelO2/app/GaelO/UseCases/ExportStudyData/ExportStudyData.php

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public function execute(ExportStudyDataRequest $exportStudyDataRequest, ExportSt
3131

3232
//Make this task continues even the users leave to prevent removing created temporary files
3333
ignore_user_abort(true);
34+
//Operation might be long, set max execution time to 30 minutes
35+
set_time_limit(1800);
3436

3537
$this->exportStudyService->setStudyName($studyName);
3638
$this->exportStudyService->exportAllTables();

0 commit comments

Comments
 (0)