mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add environment variable for migration_phase setting
This commit is contained in:
parent
ad58fe76b2
commit
31324fb65a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module.exports =
|
|||
projectHistoryOps: ({project_id}) -> "ProjectHistory:Ops:{#{project_id}}"
|
||||
projectHistoryFirstOpTimestamp: ({project_id}) -> "ProjectHistory:FirstOpTimestamp:{#{project_id}}"
|
||||
projectHistoryMigrationKey: ({project_id}) -> "ProjectHistory:MigrationKey:{#{project_id}}"
|
||||
migration_phase: "prepare"
|
||||
migration_phase: process.env["PROJECT_HISTORY_MIGRATION_PHASE"] or "prepare"
|
||||
tls: if process.env['NEW_HISTORY_REDIS_CA_CERT'] && process.env['NEW_HISTORY_REDIS_CLIENT_CERT'] && process.env['NEW_HISTORY_REDIS_CLIENT_KEY']
|
||||
ca: fs.readFileSync(process.env['NEW_HISTORY_REDIS_CA_CERT']),
|
||||
cert: fs.readFileSync(
|
||||
|
|
Loading…
Reference in a new issue