feat: Use RESP3 for Redis cache connections (#28929)
RESP3 has PUSH support which is useful for implementing client side caching. Enabling this before I work on that to test if anything breaks with this. No need to do this for background jobs instance just yet, infrequent accesses and performance doesn't matter as much.
This commit is contained in:
parent
11a6dfb6a0
commit
6f7b4c412e
2 changed files with 2 additions and 2 deletions
|
|
@ -364,7 +364,7 @@ def setup_cache():
|
|||
redis_class=RedisWrapper,
|
||||
)
|
||||
|
||||
return RedisWrapper.from_url(frappe.conf.get("redis_cache"))
|
||||
return RedisWrapper.from_url(frappe.conf.get("redis_cache"), protocol=3)
|
||||
|
||||
|
||||
def get_sentinel_connection(
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ dependencies = [
|
|||
"pytz==2023.3",
|
||||
"rauth~=0.7.3",
|
||||
"redis~=5.2.0",
|
||||
"hiredis~=3.0.0",
|
||||
"hiredis~=3.1.0",
|
||||
"setproctitle~=1.3.3",
|
||||
"requests-oauthlib~=1.3.1",
|
||||
"requests~=2.32.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue