Skip to content
Snippets Groups Projects
Commit 1d409078 authored by Taha Cherfia's avatar Taha Cherfia
Browse files

Revert "feat: cache translation for 7 days"

This reverts commit ad77f77e.
parent 68df3ee9
No related branches found
No related tags found
No related merge requests found
...@@ -143,15 +143,12 @@ cache: ...@@ -143,15 +143,12 @@ cache:
plugins: plugins:
- responseCache: - responseCache:
cacheKey: '{operationName}-{documentString|hash}-{variableValues.offset}-{variableValues.limit}-{variableValues.geolocation.properties.place_id}-{variableValues.topicIds|hash}-{variableValues.skillIds|hash}-{variableValues.text|hash}-{variableValues.targetLanguage|hash}' cacheKey: '{operationName}-{documentString|hash}-{variableValues.offset}-{variableValues.limit}-{variableValues.geolocation.properties.place_id}-{variableValues.topicIds|hash}-{variableValues.skillIds|hash}'
ttl: 0 ttl: 0
ttlPerCoordinate: ttlPerCoordinate:
# cache operation containing Query.discoverSpaces selection for 10 minutes # cache operation containing Query.discoverSpaces selection for 10 minutes
- coordinate: Query.discoverSpaces - coordinate: Query.discoverSpaces
ttl: 600000 ttl: 600000
# cache translation for 7 days
- coordinate: Query.translation_translate
ttl: 604800000
- maxDepth: - maxDepth:
n: 15 # maximum nesting level an operation is allowed to have n: 15 # maximum nesting level an operation is allowed to have
serve: serve:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment