Open alanzhu0 opened 2 months ago
Opening CSL apps from the "Apps" toolbar in the top right is slow when the app is associated with an OAuth application and the user is accessing the app for the first time in 24 hours - Ion needs to update the latest access token.
Look into ways to optimize this behavior and reduce load time - currently it can be over 10 seconds. I think it is probably the below SQL query: https://github.com/tjcsl/ion/blob/dev/intranet/apps/cslapps/views.py#L29
Whenever you get the chance can you assign this issue to me? Thanks
Done!
Opening CSL apps from the "Apps" toolbar in the top right is slow when the app is associated with an OAuth application and the user is accessing the app for the first time in 24 hours - Ion needs to update the latest access token.
Look into ways to optimize this behavior and reduce load time - currently it can be over 10 seconds. I think it is probably the below SQL query: https://github.com/tjcsl/ion/blob/dev/intranet/apps/cslapps/views.py#L29