Skip to content

Commit fa4c6a4

Browse files
authored
Update composer.json (#55)
解决 composer start 启动项目时的 超时问题
1 parent c381de5 commit fa4c6a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
"test": "co-phpunit -c phpunit.xml --colors=always",
7272
"cs-fix": "php-cs-fixer fix $1",
7373
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
74-
"start": "php ./bin/hyperf.php start"
74+
"start": [
75+
"Composer\\Config::disableProcessTimeout",
76+
"php ./bin/hyperf.php start"
77+
]
7578
}
7679
}

0 commit comments

Comments
 (0)