Changes between Initial Version and Version 1 of Ticket #35651


Ignore:
Timestamp:
Aug 1, 2024, 5:12:48 AM (4 months ago)
Author:
gojuukaze
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35651

    • Property Summary django redis cache not really using connection poolingThe number of Redis connections has been continuously increasing.
  • Ticket #35651 – Description

    initial v1  
    33After debugging, I found that whenever the cache method is called, the `RedisCacheClient `class is reinitialized, and in the `__init__` function of `RedisCacheClient`, the connection pool is set to empty.
    44
    5 This causes the `_get_connection_pool` method of `RedisCacheClient` to always create a new connection pool instead of using the existing one.
     5This causes the `_get_connection_pool` method of `RedisCacheClient` to always create a new connection pool and a new connection instead of using the existing one.
    66
    77{{{
Back to Top