From d316f1c798f7b92629e887ffe5a3784457bdc66b Mon Sep 17 00:00:00 2001
From: Pierre Delpy
Date: Tue, 23 Jul 2024 13:01:07 +0200
Subject: [PATCH] add caching in focus
---
ccp/docker-compose.yml | 3 +++
ccp/queries_to_cache.conf | 2 ++
2 files changed, 5 insertions(+)
create mode 100644 ccp/queries_to_cache.conf
diff --git a/ccp/docker-compose.yml b/ccp/docker-compose.yml
index 52e7eb5..2395d8c 100644
--- a/ccp/docker-compose.yml
+++ b/ccp/docker-compose.yml
@@ -31,6 +31,9 @@ services:
BEAM_PROXY_URL: http://beam-proxy:8081
RETRY_COUNT: ${FOCUS_RETRY_COUNT}
EPSILON: 0.28
+ QUERIES_TO_CACHE: '/queries_to_cache.conf'
+ volumes:
+ - /srv/docker/bridgehead/ccp/queries_to_cache.conf:/queries_to_cache.conf
depends_on:
- "beam-proxy"
- "blaze"
diff --git a/ccp/queries_to_cache.conf b/ccp/queries_to_cache.conf
new file mode 100644
index 0000000..b950312
--- /dev/null
+++ b/ccp/queries_to_cache.conf
@@ -0,0 +1,2 @@
+bGlicmFyeSBSZXRyaWV2ZQp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4wJwppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4wJwoKY29kZXN5c3RlbSBsb2luYzogJ2h0dHA6Ly9sb2luYy5vcmcnCgpjb250ZXh0IFBhdGllbnQKCgpES1RLX1NUUkFUX0dFTkRFUl9TVFJBVElGSUVSCgpES1RLX1NUUkFUX1BSSU1BUllfRElBR05PU0lTX05PX1NPUlRfU1RSQVRJRklFUgpES1RLX1NUUkFUX0FHRV9DTEFTU19TVFJBVElGSUVSCgpES1RLX1NUUkFUX0RFQ0VBU0VEX1NUUkFUSUZJRVIKCkRLVEtfU1RSQVRfRElBR05PU0lTX1NUUkFUSUZJRVIKCkRLVEtfU1RSQVRfU1BFQ0lNRU5fU1RSQVRJRklFUgoKREtUS19TVFJBVF9QUk9DRURVUkVfU1RSQVRJR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