Coverage for frappe_manager / migration_manager / migration_constants.py: 100%
9 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-07-02 18:13 +0530
« prev ^ index » next coverage.py v7.13.5, created at 2026-07-02 18:13 +0530
1"""
2Migration manager constants.
4Centralized constants for timeouts, versions, and configuration values.
5"""
7from frappe_manager.migration_manager.version import Version
9MINIMUM_SUPPORTED_VERSION = Version("0.18.0")
11DOCKER_COMPOSE_DOWN_TIMEOUT_SECONDS = 5
12MIGRATION_BENCH_STOP_TIMEOUT_SECONDS = 100
14MIGRATION_WIKI_URL = "https://github.com/rtCamp/Frappe-Manager/wiki/Migrations#manual-migration-procedure"
16TIMESTAMP_COLLISION_RETRY_DELAY_SECONDS = 0.001
17TIMESTAMP_COLLISION_RETRY_DELAY_MS = TIMESTAMP_COLLISION_RETRY_DELAY_SECONDS
19MIGRATION_CHECK_WHITELIST_COMMANDS: list[str] = [
20 "list",
21 "self compose",
22 "self update-images",
23 "migrate",
24]
26MIGRATION_CHECK_WHITELIST_BENCH_COMMANDS: list[str] = []