https://github.com/opencv/cvat
Raw File
Tip revision: a942f095edd5ec224f6ab2cc75b35727cc00cc7d authored by cvat-bot[bot] on 23 February 2024, 12:14:10 UTC
Merge pull request #7510 from opencv/release-2.11.0
Tip revision: a942f09
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