Commit f5aa6cac authored by Chris O'Haver's avatar Chris O'Haver Committed by Miek Gieben

remove trailing whitespace (#2260)

parent 24564164
...@@ -25,7 +25,7 @@ cache [TTL] [ZONES...] ...@@ -25,7 +25,7 @@ cache [TTL] [ZONES...]
Each element in the cache is cached according to its TTL (with **TTL** as the max). Each element in the cache is cached according to its TTL (with **TTL** as the max).
A cache is divided into 256 shards, each holding up to 39 items by default - for a total size A cache is divided into 256 shards, each holding up to 39 items by default - for a total size
of 256 * 39 = 9984 items. of 256 * 39 = 9984 items.
If you want more control: If you want more control:
...@@ -53,7 +53,7 @@ cache [TTL] [ZONES...] { ...@@ -53,7 +53,7 @@ cache [TTL] [ZONES...] {
## Capacity and Eviction ## Capacity and Eviction
If **CAPACITY** _is not_ specified, the default cache size is 9984 per cache. The minimum allowed cache size is 1024. If **CAPACITY** _is not_ specified, the default cache size is 9984 per cache. The minimum allowed cache size is 1024.
If **CAPACITY** _is_ specified, the actual cache size used will be rounded down to the nearest number divisible by 256 (so all shards are equal in size). If **CAPACITY** _is_ specified, the actual cache size used will be rounded down to the nearest number divisible by 256 (so all shards are equal in size).
Eviction is done per shard. In effect, when a shard reaches capacity, items are evicted from that shard. Eviction is done per shard. In effect, when a shard reaches capacity, items are evicted from that shard.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment