-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy patholivehc.conf.sample
48 lines (39 loc) · 1.09 KB
/
olivehc.conf.sample
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
# OliveHC configure file
# include included/file/path
# threads 4
# quit_timeout 60
# error_log error.log
# device_badblock_percent 1
# device_check_270G on
device file/path1
device file/path2
listen 8535
# capacity 0
# connections_limit 1000
# access_log access.log
# keepalive_timeout 60
# request_timeout 60
# recv_timeout 60
# send_timeout 60
# expire_default 259200 # 3days
# expire_force 0
# item_max_size 100M
# server_dump on
# status_period 60
# shutdown_if_not_store off
# rcvbuf 0
# sndbuf 0
## URL is used as the item key by default. If the following 3
## commands are set, the query string, Host header, and OHC-Key
## header will be used as part of the key respectively.
# key_include_host off
# key_include_query off
# key_include_ohc_key off
## Filter long tail cold item. See README.md for detail.
# passby_enable off
# passby_begin_item_nr 1000000
# passby_begin_consumed 100G
# passby_limit_nr 1000000
# passby_expire 3600
listen 8838
# vim: set tw=0 shiftwidth=4 tabstop=4 expandtab: