mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
7 lines
264 B
Python
7 lines
264 B
Python
from django.conf import settings
|
|
from django_redis import get_redis_connection
|
|
|
|
judge_queue_cache = get_redis_connection(settings.CACHE_JUDGE_QUEUE)
|
|
throttling_cache = get_redis_connection(settings.CACHE_THROTTLING)
|
|
default_cache = get_redis_connection("default")
|