mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[k8s] clsi-cache: double the number of shards (#32323)
* [k8s] clsi-cache: double the number of shards * [monorepo] add missing clsi-cache env vars to dev-env * [clsi] flip direction of clsi-cache shard migration * [clsi] remove upper bound from clsi-cache shard migration GitOrigin-RevId: a325a11c3ac9e22a12ad2d8ea802b91d2e175e24
This commit is contained in:
@@ -61,6 +61,10 @@ module.exports = {
|
||||
shards: JSON.parse(process.env.CLSI_CACHE_INSTANCES || '[]').filter(
|
||||
({ zone, readOnly }) => zone === process.env.ZONE && !readOnly
|
||||
),
|
||||
currentShards: parseInt(process.env.CLSI_CACHE_CURRENT_SHARDS, 10),
|
||||
desiredShards: parseInt(process.env.CLSI_CACHE_DESIRED_SHARDS, 10),
|
||||
reshardFrom: new Date(process.env.CLSI_CACHE_RESHARD_FROM),
|
||||
reshardUntil: new Date(process.env.CLSI_CACHE_RESHARD_UNTIL),
|
||||
},
|
||||
filestore: {
|
||||
url:
|
||||
|
||||
Reference in New Issue
Block a user