Skip to content

Commit 467f30d

Browse files
committed
backwards compatibility
1 parent ff53ad7 commit 467f30d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/core/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def execute_from_command_line(argv: list[str]) -> None:
6565
subcommand = argv[1]
6666
subcommand_main = {
6767
"healthcheck": healthcheck.main,
68+
# Backwards compatibility for task-processor health checks
69+
# See https://github.com/Flagsmith/flagsmith-task-processor/issues/24
70+
"checktaskprocessorthreadhealth": healthcheck.main,
6871
}[subcommand]
6972
except (IndexError, KeyError):
7073
django_execute_from_command_line(argv)

0 commit comments

Comments
 (0)