https://github.com/opencv/cvat
Raw File
Tip revision: 7721b268545af27b467beef54d6f1b9e36448299 authored by Nikita Manovich on 06 September 2023, 18:52:11 UTC
Release v2.6.2
Tip revision: 7721b26
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