-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
At the end of cache.py you call clear_cache()
This means the code runs on import and therefore everytime Django starts - even for management commands.
Is this necessary? I use several frequent cron tasks that run via management commands and I'm looking to minimise the number of times I start from a cold cache.
If I can safely remove this line then my cache will spend considerably longer warm.
Metadata
Metadata
Assignees
Labels
No labels