优化PHP配置进程数

This commit is contained in:
2024-04-08 00:12:46 +08:00
parent 4f8b9a4f51
commit 522461831f
2 changed files with 9 additions and 2 deletions

View File

@@ -9,3 +9,10 @@ max_execution_time = 0
; POST大小不限制 ; POST大小不限制
post_max_size = -1 post_max_size = -1
; 进程数不限制
pm = dynamic
pm.max_children = 150
pm.start_servers = 10
pm.min_spare_servers = 10
pm.max_spare_servers = 30

View File

@@ -12,12 +12,12 @@ use think\console\Output;
class VersionBase extends Command class VersionBase extends Command
{ {
public const VERSION = 'v2.0.95'; public const VERSION = 'v2.0.96';
public const LAYUI_VERSION = '2.8.17'; public const LAYUI_VERSION = '2.8.17';
public const COMMENT = [ public const COMMENT = [
'修正docker的run.sh', '优化PHP配置进程数',
'发布新版本', '发布新版本',
]; ];