Project

General

Profile

action #110533

Updated by tinita almost 2 years ago

# Observation 

 When I have a browser window with the Minion Page open, it retrieves statistics in the background every four seconds (`/minion/stats`). 

 When I get logged out at some point, it keeps retrieving, but since it's unauthorized, unaithorizes, the Ajax Sjax request always gets redirected to our OpenID provider, which is causing some other problems on their side due to the many requests. 

 # Suggestions 
 * Since it's a JSON request, don't redirect to a login page, just return 403 
 * Detect that we get a 403 and stop retrieving data

Back