-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
According to the Django docs, cached_property will "will persist as long as the instance does". This means it will not dynamically discover changes to the elasticache cluster without the django app restarting.
This is not ideal, since the size of the elasticache cluster may change, and nodes in the cluster may be replaced.
The fix for this would be to add a TTL to the cache, which would require a different memoization scheme for the property.
Metadata
Metadata
Assignees
Labels
No labels