So I was just upgraded to 20.49.0 and was a little peeved by the change to the local API which broke my monitoring. I ended up coding around it but was wondering if anyone here knows how long the AuthCookie and UserRecord cookies are valid for?
I see the expiration for these are marked as session but what is the max life of a session for the gateway? At the moment, I'm actually make an auth call and getting new cookies right before every GET request for the gridstatus (these go every 20 seconds) but my concerns with this are:
1) Overhead/timing
2) Maxing out the sessions the gateway can handle
I suppose I could just keep reusing the same cookie until hitting a 403 response and then make the auth call and try again. Just wondering if anyone know if this is something that would likely happen hourly, daily, weekly, monthly, etc.
Thanks.