https://github.com/opencv/cvat
Raw File
Tip revision: 8aba36f42fc9a33bfbc311195e02635c77d509b4 authored by Boris Sekachev on 22 May 2024, 05:53:12 UTC
Merge pull request #7927 from cvat-ai/dev-release-2.14.0
Tip revision: 8aba36f
rqscheduler.py
#!/usr/bin/env python

# This script adds access to the Django env and settings in the default rqscheduler
# implementation. This is required for correct work with CVAT queue settings and
# their access options such as login and password.

# Required to initialize Django settings correctly
from cvat.asgi import application  # pylint: disable=unused-import

from rq_scheduler.scripts import rqscheduler

if __name__ == '__main__':
    rqscheduler.main()
back to top