Skip to content

Commit 0af1fd7

Browse files
committed
Set a 5-minute max_execution_time when starting the web server.
1 parent 6cb84b1 commit 0af1fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/Drupal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export class Drupal implements DrupalInterface
282282
}
283283
};
284284

285-
await new PhpCommand('-S', url.substring(7), '.ht.router.php')
285+
await new PhpCommand('-d max_execution_time=300', '-S', url.substring(7), '.ht.router.php')
286286
.start({ cwd: this.webRoot() }, checkForServerStart);
287287
});
288288
}

0 commit comments

Comments
 (0)