melanie witt
43683f543e
Add caching of limits in Enforcer
This adds caching of resource limits for an Enforcer in order to improve performance when repeated limit checks are needed. The cache lasts the lifetime of an Enforcer and is enabled by default. It can be disabled by passing cache=False when instantiating an Enforcer. One usage pattern for a caching Enforcer would be to create an Enforcer per service request so that the caching lives only as long as the request. Change-Id: I8e43dceec76aecd2b2ae23a137e56519efe29777
Team and repository tags
oslo.limit
Oslo.limit is the limit enforcement library to assist with quota calculation. It aims to provide support for quota enforcement across all OpenStack services.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.limit/latest/
- Source: http://opendev.org/openstack/oslo.limit
- Bugs: http://bugs.launchpad.net/oslo.limit
Description
Languages
Python
100%