Revision 405a019f039494a7832bf83c8367991faad75755 authored by Roman Donchenko on 08 December 2023, 15:37:57 UTC, committed by GitHub on 08 December 2023, 15:37:57 UTC
Having both CPU and GPU images use the same image name and tag is
confusing, since you can't tell which one you have on your system
without deep inspection.
1 parent de6e50c
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