2 Unstar Star 0 Fork 0

白磊 / easyswoole-blogPHP

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Nothing here. spread retract

Clone or download
produce.php 668 Bytes
Copy Edit Web IDE Raw Blame History
白磊 authored 2020-07-03 17:24 . no message
<?php
return [
'SERVER_NAME' => "EasySwoole",
'MAIN_SERVER' => [
'LISTEN_ADDRESS' => '0.0.0.0',
'PORT' => 9501,
'SERVER_TYPE' => EASYSWOOLE_WEB_SERVER, //可选为 EASYSWOOLE_SERVER EASYSWOOLE_WEB_SERVER EASYSWOOLE_WEB_SOCKET_SERVER,EASYSWOOLE_REDIS_SERVER
'SOCK_TYPE' => SWOOLE_TCP,
'RUN_MODEL' => SWOOLE_PROCESS,
'SETTING' => [
'worker_num' => 8,
'reload_async' => true,
'max_wait_time'=>3
],
'TASK'=>[
'workerNum'=>4,
'maxRunningNum'=>128,
'timeout'=>15
]
],
'TEMP_DIR' => null,
'LOG_DIR' => null
];

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/bailei123/easyswoole.git
git@gitee.com:bailei123/easyswoole.git
bailei123
easyswoole
easyswoole-blog
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542