Some operations in the admin backend take a long time to complete. Notably:
- Recalculating all levels
- Creating a cycle (longer)
- Changing the current cycle (even longer)
In our production instance, these operations were timing out. I had to increase the web server and ingress timeouts:
juju config dashboard webserver-timeout=300
juju config nginx-ingress-integrator proxy-read-timeout=300
We should review the database queries to see whether the operations can be made more efficient. We should also consider switching them to async operations instead of blocking the web request.
Some operations in the admin backend take a long time to complete. Notably:
In our production instance, these operations were timing out. I had to increase the web server and ingress timeouts:
We should review the database queries to see whether the operations can be made more efficient. We should also consider switching them to async operations instead of blocking the web request.