Revision bfc86ae154071c2f29f5d821f7a2523f81c55cf1 authored by Boris Sekachev on 05 October 2023, 08:36:11 UTC, committed by GitHub on 05 October 2023, 08:36:11 UTC
1 parent 9501bae
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 ...