mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add logging of migration phase at startup
This commit is contained in:
parent
d5a2b96df9
commit
626e19ed1a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class MigrationClient
|
|||
@rclient_new = redis.createClient(@new_settings)
|
||||
@new_key_schema = new_settings.key_schema
|
||||
# check that migration phase is valid on startup
|
||||
@getMigrationPhase()
|
||||
logger.warn {migration_phase: @getMigrationPhase()}, "running with RedisMigrationManager"
|
||||
|
||||
getMigrationPhase: () ->
|
||||
@migration_phase = @new_settings.migration_phase # FIXME: allow setting migration phase while running for testing
|
||||
|
|
Loading…
Reference in a new issue