cd906266e6
This patch aims to optimize the token creation time by caching role assignments used for populating user roles in the token data. Two methods in the assignment manager are cached: - get_roles_for_user_and_domain - get_roles_for_user_and_project This change, in addition to I147c5b8e7dcfe1786fe8a534182dbeef33925eac, reduces the Fernet token creation time by 28%. The full performance report can be found here: https://gist.github.com/dolph/3bf24039b83a147eeb5c Partial-Bug: 1489061 Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com> Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com> Change-Id: Id6ee76f896fe738b4c4de432eb57cc0437ffdb6b |
||
---|---|---|
.. | ||
__init__.py | ||
backends.py | ||
common.py | ||
eventlet.py | ||
wsgi.py |