Skip to content

Commit

Permalink
Revert "格式化代码,使代码符合PSR2规范"
Browse files Browse the repository at this point in the history
This reverts commit 6f0d97d.

# Conflicts:
#	src/Resource/Config.php
  • Loading branch information
kiss291323003 committed Jan 15, 2019
1 parent c8c8b3f commit 644ea7a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/Resource/Config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php
/**
* Created by PhpStorm.
* User: yf
* Date: 2019-01-01
* Time: 20:06
*/

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
'SOCK_TYPE' => SWOOLE_TCP,
'RUN_MODEL' => SWOOLE_PROCESS,
'SETTING' => [
'worker_num' => 8,
'max_request' => 5000,
'task_worker_num' => 8,
'task_max_request' => 1000,
],
],
'TEMP_DIR' => null,
'LOG_DIR' => null,
'CONSOLE' => [
'ENABLE' => true,
'LISTEN_ADDRESS' => '127.0.0.1',
'HOST' => '127.0.0.1',
'PORT' => 9500,
'EXPIRE' => '120',
'AUTH' => null,
'PUSH_LOG' => true,
],
'FAST_CACHE' => [
'PROCESS_NUM' => 0,
'BACKLOG' => 256,
],
'DISPLAY_ERROR' => true,
];

0 comments on commit 644ea7a

Please sign in to comment.