-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
51 lines (49 loc) · 935 Bytes
/
config.yml
File metadata and controls
51 lines (49 loc) · 935 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
database:
redis:
toggle: false
address: 0.0.0.0
port: 6379
user: root
password: ""
ssl: false
prefix: ""
mongo:
toggle: false
connectionURL: "mongodb://root:@localhost:27017/?retryWrites=true&w=majority"
networking:
ip: 0.0.0.0
port: 8080
tcp-fast-open: true
tcp-no-delay: true
# AUTO (Find the best case)
# IO_URING
# EPOLL
# KQUEUE
# NIO
transport: AUTO
max-time-out: 10 #seconds
write-buffer-watermark:
low: 1048576 #bytes
high: 2097152 #bytes
storage:
bulk-message-size: 50
ssl:
toggleUsingWSS: false
toggleUsingKeys: false
certificateFile: ""
privateKeyFile: ""
rate-limiter:
authentication:
delay: 1000 #miliseconds
send-message:
max-size: 2000 #character
time: 5000 #miliseconds
tokens: 10
request-bulk-message:
time: 1000
tokens: 5
can-send-message:
time: 1000
tokens: 5
jwt-secret:
file: "secret.txt"