mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
7 lines
258 B
Python
7 lines
258 B
Python
from django.conf import settings
|
|
from django_redis import get_redis_connection
|
|
|
|
judge_cache = get_redis_connection(settings.CACHE_JUDGE_QUEUE)
|
|
throttling_cache = get_redis_connection(settings.CACHE_THROTTLING)
|
|
default_cache = get_redis_connection("default")
|