Revision d9e7b2c35422382ed411623e741b1462d671f456 authored by Kirill Lakhov on 19 December 2023, 14:25:41 UTC, committed by GitHub on 19 December 2023, 14:25:41 UTC
1 parent 48ab12b
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()
Computing file changes ...