Files
neutron/neutron/policy.py
Ihar Hrachyshka 3d6d9393c8 policy: cache extracted parent fields for OwnerCheck
Parent foreign key extraction requires another database fetch per object
validates, which does not scale well. To mitigate the issue, cache
extracted parent key values in a global policy cache dictionary.

Use oslo.cache to maintain cache. Hardcode expiration timeout for
policy lookups to 5 secs.

Change-Id: I6b3d7c96b7487c9bef6d39a28c76fea0721c3098
Related-Bug: #1513782
2016-11-12 16:43:43 +00:00

17 KiB