mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
e4ae6a70e5
These changes update the manager and bundle plugin to avoid parsing and compiling modules during the manager's trigger callback. Since policy queries are blocked while triggers execute, it's adavantageous to cache the compiler that is obtained during bundle activation and reduce the work done in the trigger callback. Also, as part of these changes, the bundle plugin incorporates remaining modules when it recompiles. This ensures that remaining modules are correct. Fixes #1515 Signed-off-by: Torin Sandall <torinsandall@gmail.com>