Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
doyouhaobaby committed Dec 22, 2024
1 parent ce262a8 commit 0997f8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ SERVER_WEBSOCKET_HOST = 127.0.0.1
SERVER_WEBSOCKET_PORT = 9527
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_ENABLED = true
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_DELAY_COUNT = 0
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL = 20
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL = 3000
SERVER_CUSTOM_PROCESS_MAX_REQUEST_ENABLED = true
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_REQUEST = 0
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_WAIT_TIME = 3
Expand Down
2 changes: 1 addition & 1 deletion .env.phpunit.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ SERVER_WEBSOCKET_HOST = 127.0.0.1
SERVER_WEBSOCKET_PORT = 9527
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_ENABLED = true
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_DELAY_COUNT = 0
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL = 20
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL = 3000
SERVER_CUSTOM_PROCESS_MAX_REQUEST_ENABLED = true
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_REQUEST = 0
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_WAIT_TIME = 3
Expand Down
2 changes: 1 addition & 1 deletion config/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

// 默认检测间隔时间
// Swoole 检测间隔时间,单位为毫秒
'time_interval' => (int) App::proxy()->env('SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL', 20),
'time_interval' => (int) App::proxy()->env('SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL', 3000),

// 默认源代码监听目录
// 使用 HotOverload 监听 PHP 源码默认目录
Expand Down

0 comments on commit 0997f8e

Please sign in to comment.