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
2021-10-18 21:43:57 +00:00
2021-06-09 08:04:01 -07:00
2018-05-17 18:06:06 +08:00
2020-03-03 14:52:45 +01:00
2019-04-19 19:29:49 +00:00
2018-05-17 18:06:06 +08:00
2018-05-17 18:06:06 +08:00
2021-04-15 18:18:02 +01:00
2018-06-21 21:39:22 +08:00
2018-05-17 18:06:06 +08:00
2020-03-02 14:58:28 +01:00
2020-12-02 13:17:44 +08:00
2020-02-11 18:53:20 +01:00
2021-06-09 08:04:01 -07:00
2021-04-16 13:10:56 +00:00

Team and repository tags

image

oslo.limit

Latest Version

Downloads

Oslo.limit is the limit enforcement library to assist with quota calculation. It aims to provide support for quota enforcement across all OpenStack services.

Description
Limit enforcement library to assist with quota calculation.
Readme 1.7 MiB
Languages
Python 100%