Skip to content

Commit 55d67c0

Browse files
committed
Updated documentation
1 parent 1571c4e commit 55d67c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data-node/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ they'll be used in the same cluster. Size value should be uint64. Ex: `107374182
1818

1919
- `ROOT_PATH` (optional) : The path to store file blocks. Default: `/opt`
2020

21+
- `CACHE_LIMIT` (optional): Small sized files can be cached for fast access. Value should be uint64 in byte format
22+
Default: `0` (disabled)
23+
24+
- `CACHE_LIFETIME` (optional): Cache lifetime. When it reaches to the limit, garbage collector will free up the memory.
25+
Value should be uint64 in minutes. Default: `360` (6 hours)
26+
2127
### Data Node
2228
Data nodes are smart enough to sync each other. Every create and delete request will be distributed between nodes
2329
using the manager as a gateway. On the first run, if manager node is not accessible, it will start as stand-alone. When

0 commit comments

Comments
 (0)