Revision 3b15362e1d016b61d4fa152056c504b32a6b0748 authored by dependabot[bot] on 04 October 2023, 11:55:22 UTC, committed by GitHub on 04 October 2023, 11:55:22 UTC
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b2b4974
Raw File
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