Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Read event handler definitions from database only if config changed #1823
Currently, privacyIDEA reads all event handler definitions from the database (along with their conditions and options) on each request. This is because each request instantiates a new
Analogously to policies, we could only read event handler definitions from the database if the config timestamp has changed. This would save us at least one SQL query per request.
Then, event handler definitions would also respect the