#8797 Cache the value of ca_is_enabled in the request context
Closed: fixed by frenaud. Opened by rcritten.

Issue

ca_is_enabled can be called multiple times within a request, for example when deleting services associated with a host. This value is not likely to change within any given request.

commit 32c64a78cef499c05e4ffa71d033692571297dca cached the value but never really used it effectively.

Properly cache the value and return it to save on queries.


https://github.com/freeipa/freeipa/pull/5702

master:

  • 9cb65b4eebb9ec628b2795700a797a0c78e7ad7d Cache the value of ca_is_enabled in the request context

ipa-4-9:

  • 74130f863f76c11b6705cde886804a60ea11f64f Cache the value of ca_is_enabled in the request context

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata