-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml.example
60 lines (41 loc) · 1.21 KB
/
config.toml.example
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
52
53
54
55
56
57
58
59
60
dir_workers = 5
file_workers = 5
elastic_url = "http://localhost:9200"
debug = true
# If you want to recognize the filetypes and index those in elasticsearch, provide a path to the apache tika jar file.
# tika_jar = "/usr/local/Cellar/tika/1.14/libexec/tika-app-1.14.jar"
# How often to check the mountpoints
# monitor_mount_sec = 2
# Elasticsearch files index name
# elastic_index = idx
# Send workers stats to monitoring (in seconds)
monitor_interval = 10
copy = true
scan = true
scan_update = true
file_prefetch = 256
dir_prefetch = 36
[rabbitmq]
connect_string = "amqp://guest:guest@localhost:5672/"
[datasource]
[datasource.panda]
# plugin to use (lustre/posix)
type = "lustre"
# mount path
path = "/mnt/panda"
# check if filesystem is mounted
mount = true
# allow modifying the filesystem
write = false
# skip files newer than N seconds (off if 0)
skip_files_newer_minutes=0
# skip files older than N seconds (off if 0)
skip_files_older_minutes=0
# skip files larger than N GB - to deal with sparse ones
skip_files_larger_gb=500
# set random MDS striping for top-level folders on 2 MDS
mds = 2
elastic_index = "panda"
recognise_types = true
# purge files with MTime older than 30 days
purge_files_older_days=30