mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
cache: allow ellipse style entries for MINIO_CACHE_DRIVES (#6088)
Fixes #5863
This commit is contained in:
@@ -110,6 +110,7 @@ By default, parity for objects with standard storage class is set to `N/2`, and
|
||||
|``drives``| _[]string_ | List of mounted file system drives with [`atime`](http://kerolasa.github.io/filetimes.html) support enabled|
|
||||
|``exclude`` | _[]string_ | List of wildcard patterns for prefixes to exclude from cache |
|
||||
|``expiry`` | _int_ | Days to cache expiry |
|
||||
|``maxuse`` | _int_ | Percentage of disk available to cache |
|
||||
|
||||
#### Notify
|
||||
|Field|Type|Description|
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"version": "24",
|
||||
"version": "26",
|
||||
"credential": {
|
||||
"accessKey": "USWUXHGYZQYFYFFIT3RE",
|
||||
"secretKey": "MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03"
|
||||
},
|
||||
"region": "us-east-1",
|
||||
"browser": "on",
|
||||
"worm": "off",
|
||||
"domain": "",
|
||||
"storageclass": {
|
||||
"standard": "",
|
||||
@@ -14,11 +15,12 @@
|
||||
"cache": {
|
||||
"drives": [],
|
||||
"expiry": 90,
|
||||
"exclude": []
|
||||
"exclude": [],
|
||||
"maxuse": 80
|
||||
},
|
||||
"usage": {
|
||||
"interval": "3h"
|
||||
}
|
||||
},
|
||||
"notify": {
|
||||
"amqp": {
|
||||
"1": {
|
||||
@@ -124,3 +126,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user