-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.ini
More file actions
34 lines (32 loc) · 737 Bytes
/
main.ini
File metadata and controls
34 lines (32 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[server]
app_id = 1.1.1.1
ip = 0.0.0.0
port = 20025
# worker_cnt range [1, 511]
worker_cnt = 2
# max_client_cnt range [1, 8388607]
max_client_cnt = 1000
# using wait_time setting tick time, 10ms
epoll_wait_time = 10
accept_per_tick = 100
#task_type = HTTP_TASK
#task_type = STREAM_TASK
task_type = WEBSOCKET_TASK
http_static_dir = ./
lua_dir = ./lua
# SSL_CTX_use_certificate_chain_file
crt.pem = ./config/certificate.crt
# SSL_CTX_use_PrivateKey_file
key.pem = ./config/private_key.pem
use_ssl = 0
daemon = 1
# DEBUG 0, INFO 1, WARN 2, ERROR 3, FATAL 4,
log_level = 0
other_udp_svr_ip=127.0.0.1
other_udp_svr_port=20027
other_udp_svr_max_loop=10000
[ipc]
max_ipc_conn_num = 100
ipc_json_path = ./config/ipc.json
[client]
threads = 10