mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-20 04:57:50 +08:00
commit
e562b9102e
@ -28,6 +28,7 @@ files = .*,Thumbs.db,.DS_Store,._.DS_Store,.localized,desktop.ini
|
||||
|
||||
[autotag]
|
||||
; pattern dictionaries for diskover bots to use when auto-tagging, values are case-sensitive, can include wildcard for ext, name or path (tmp* or TMP* or *tmp or *TMP* etc)
|
||||
; can also specify file name with json, example files = autotag.files.json
|
||||
;files = [{"name": [], "name_exclude": [], "ext": ["tmp*", "TMP*", "temp*", "TEMP*", "cache*", "CACHE*"], "path": ["*/Application Support/*", "*/Containers/*"], "path_exclude": [], "mtime": 90, "atime": 0, "ctime": 90, "tag": "delete", "tag_custom": "autotag"}]
|
||||
;dirs = [{"name": ["*tmp*", "*TMP*", "*temp*", "*TEMP*", "*Temp*", "*cache*", "*CACHE*", "*Cache*"], "name_exclude": ["*templates*", "*Templates*"], "path": ["*/Application Support/*", "*/Containers/*"], "path_exclude": [], "mtime": 90, "atime": 0, "ctime": 90, "tag": "delete", "tag_custom": "autotag"}]
|
||||
|
||||
@ -37,6 +38,7 @@ costpergb = 0.03
|
||||
; use decimal base 10 (1000) or binary base 2 (1024) for GB size (default is 2, set to 2 or 10)
|
||||
base = 2
|
||||
; pattern dictionaries for diskover bots to use when determing cost per GB (overrides above)
|
||||
; can also specify file name with json, example paths = storagecost.paths.json
|
||||
;paths = [{"path": ["*/fastdiskpath1/*", "*/Fastdiskpath2/*"], "path_exclude": [], "costpergb": 0.05}, {"path": ["*/slowdiskpath1/*", "*/Slowdiskpath2/*"], "path_exclude": [], "costpergb": 0.02}]
|
||||
;times = [{"mtime": 180, "atime": 0, "ctime": 180, "costpergb": 0.02}]
|
||||
; deciding factor if a match is in both paths and times, can be path or time
|
||||
@ -99,8 +101,6 @@ ttl = 500
|
||||
queue = diskover
|
||||
queuecrawl = diskover_crawl
|
||||
queuecalcdir = diskover_calcdir
|
||||
; rq worker ttl heartbeat (in seconds) sent to prevent timeout (default 420)
|
||||
workerttl = 420
|
||||
|
||||
[adaptivebatch]
|
||||
; adaptive batch settings when using -a (intelligent crawling)
|
||||
@ -136,22 +136,30 @@ readsize = 65536
|
||||
maxsize = 1073741824
|
||||
; bytes to check at start and end of file before doing md5 sum check (set large enough to account for file header info, default is 64)
|
||||
checkbytes = 64
|
||||
; try to restore times (mtime/atime) for files that get opened by byte check and md5
|
||||
; set to True or False, default False (useful for cifs which does not work with noatime mount option)
|
||||
restoretimes = False
|
||||
; number of threads for calculating md5 checksum of files
|
||||
threads = 8
|
||||
|
||||
[crawlbot]
|
||||
; continuous scanner
|
||||
; continuous scanner when running with --crawlbot
|
||||
; time to sleep (seconds) between checking for directory changes
|
||||
sleeptime = 0.1
|
||||
; number of threads for checking directories, setting this to num of cores x2 is a good starting point
|
||||
threads = 8
|
||||
; how often in seconds to get new directory list with updated times from ES (default 3600)
|
||||
dirlisttime = 3600
|
||||
|
||||
[gource]
|
||||
; should be set to same in diskover-gource.sh
|
||||
maxfilelag = 0.1
|
||||
|
||||
[qumulo]
|
||||
; Qumulo host
|
||||
;cluster = 172.16.129.10
|
||||
; Qumulo api user
|
||||
;api_user = admin
|
||||
; Qumulo api password
|
||||
;api_password = admin
|
||||
[crawlapi]
|
||||
; crawl api url endpoint
|
||||
;url = http://localhost:8080/api
|
||||
; optional api login
|
||||
;user = admin
|
||||
;pass = admin
|
||||
; number of items per page for each directory list request
|
||||
;pagesize = 1000
|
||||
Loading…
x
Reference in New Issue
Block a user