Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
check_file_based_cache_is_absolute doesn't close caches
20 views
Skip to first unread message
Nikita Manovich
unread,
Jan 19, 2023, 7:13:04 PM
1/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi,
Why check_file_based_cache_is_absolute doesn't close cache? Does Django have any reasons for that?
I expect that in
https://github.com/django/django/blob/4b066bde692078b194709d517b27e55defae787c/django/core/checks/caches.py#L62
function each cache will be closed before continue statement.
For example, DjangoCache initializes SQLite DB. Our project has multiple RQ workers. Each of them keeps the DB open till its death.
--
Nikita
Reply all
Reply to author
Forward
0 new messages