Files
2026-07-13 13:32:23 +08:00

24 lines
782 B
Python

# Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
# Inherit parent config
from cvat.settings.production import * # pylint: disable=wildcard-import
# We use MD5 password hasher instead of default PBKDF2 here to speed up REST API tests,
# because the current implementation of the tests requires authentication in each test case
# so using the PBKDF2 hasher slows them.
PASSWORD_HASHERS = [
"django.contrib.auth.hashers.MD5PasswordHasher",
]
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"]["anon"] = "300/minute"
IMPORT_CACHE_CLEAN_DELAY = timedelta(seconds=30)
# The tests should not fail due to high disk utilization of CI infrastructure that we have no control over
# But let's keep this check enabled
HEALTH_CHECK = {
"DISK_USAGE_MAX": 100, # percent
}