Skip to content

Commit 6a1d098

Browse files
committed
remove backwards compat
1 parent 771fd38 commit 6a1d098

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

api/manage.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
#!/usr/bin/env python
22
import os
3-
import sys
43

54
from common.core.main import main
65

76
if __name__ == "__main__":
8-
# Backwards compatibility for task-processor health checks
9-
# See https://github.com/Flagsmith/flagsmith-task-processor/issues/24
10-
if "checktaskprocessorthreadhealth" in sys.argv:
11-
import scripts.healthcheck
12-
13-
scripts.healthcheck.main()
14-
157
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings.local")
168

179
main()

api/poetry.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)