-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.example.toml
More file actions
43 lines (35 loc) · 795 Bytes
/
Config.example.toml
File metadata and controls
43 lines (35 loc) · 795 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
host = "127.0.0.1"
port = 8000
logdir = "log"
title = "Rustmark"
auth = true
[html_templates]
behavior = "Deny"
local_path = "html"
[markdown]
behavior = "Supplement"
local_path = "content"
[assets.protected]
behavior = "Override"
local_path = "content"
[assets.public]
behavior = "Override"
local_path = "static"
[assets.static_files]
stream_threshold = 1000
stream_buffer = 256
read_buffer = 128
[stats]
enabled = true
timing_buffer_size = 86_400 # One day: 60 * 60 * 24
connection_buffer_size = 86_400 # One day: 60 * 60 * 24
memory_buffer_size = 86_400 # One day: 60 * 60 * 24
ws_ping_interval = 60
ws_ping_timeout = 10
[stats.periods]
second = 1
minute = 60
hour = 3_600
day = 86_400
[users]
#joe = "1a2b3c"