Skip to content

Commit

Permalink
Migration実行時に、実行時間の上限を設けないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Remicck committed Aug 20, 2021
1 parent ab5f9f2 commit c50504a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/Migration/views/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ public function applyDBChanges(){

define('VTIGER_UPGRADE', true);

// migrationでは重い処理の可能性もあるため処理時間は無限にする
set_time_limit(0);

for($i=0; $i<$patchCount; $i++){
$filename = "modules/Migration/schema/".$migrateVersions[$i]."_to_".$migrateVersions[$i+1].".php";
if(is_file($filename)) {
Expand Down

0 comments on commit c50504a

Please sign in to comment.