12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- {
- "server": {
- "user": "root",
- "password": "123456",
- "charset": "utf8mb4",
- "host": "web-php7_smproxy",
- "port": "3366",
- "mode": "SWOOLE_PROCESS",
- "sock_type": "SWOOLE_SOCK_TCP",
- "logs": {
- "open":true,
- "config": {
- "system": {
- "log_path": "ROOT/logs",
- "log_file": "system.log",
- "format": "Y/m/d"
- },
- "mysql": {
- "log_path": "ROOT/logs",
- "log_file": "mysql.log",
- "format": "Y/m/d"
- }
- }
- },
- "swoole": {
- "worker_num": "swoole_cpu_num()",
- "max_coro_num": 6000,
- "open_tcp_nodelay": true,
- "daemonize": true,
- "heartbeat_check_interval": 60,
- "heartbeat_idle_time": 600,
- "reload_async": true,
- "log_file": "ROOT/logs/swoole.log",
- "pid_file": "ROOT/logs/pid/server.pid"
- },
- "swoole_client_setting": {
- "package_max_length": 16777215
- },
- "swoole_client_sock_setting": {
- "sock_type": "SWOOLE_SOCK_TCP"
- }
- }
- }
|