aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres/syncserver.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-07-18 14:49:41 +0100
committerGitHub <noreply@github.com>2022-07-18 14:49:41 +0100
commit99b696e775f13eb876f68195acdbffc2e05764b2 (patch)
treed433ff0fc6514fe158bd9e18316c62b0e3e26a9b /syncapi/storage/postgres/syncserver.go
parenta7e92f8cb99105c2a579f73fbc972b7fb0b35678 (diff)
Tweak cache counters (#2575)
* Tweak cache counters This makes the number of counters relative to the maximum cache size. Since the counters effectively manage the size of the bloom filter, larger caches need more counters and smaller caches need less. 10 counters per 1KB data means that the default cache size of 1GB should result in a bloom filter and TinyLRU admission set of about 16MB estimated. * Remove line left by accident
Diffstat (limited to 'syncapi/storage/postgres/syncserver.go')
0 files changed, 0 insertions, 0 deletions