Skip to content

Commit

Permalink
Issue #2 also use two level caching in production config
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 22, 2022
1 parent d8b490c commit 2ba26a9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions conf/aggregator.prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,21 @@
zookeeper_prefix="/openeo/aggregator/",
memoizer={
# See `memoizer_from_config` for more details
"type": "zookeeper",
"type": "chained",
"config": {
"zk_hosts": ZK_HOSTS,
"default_ttl": 60 * 60,
"parts": [
{
"type": "dict",
"config": {"default_ttl": 10 * 60}
},
{
"type": "zookeeper",
"config": {
"zk_hosts": ZK_HOSTS,
"default_ttl": 60 * 60,
}
}
]
}
},

Expand Down

0 comments on commit 2ba26a9

Please sign in to comment.