During high load times, there's a large number of login calls that fail with timeout or network error
Currently call to server auth endpoint is called on every app refresh, there's no need.
Let's reduce the number of calls according to the JWT expiration date or if no JWT exists.
Please describe the tests that you ran to verify your changes.
Checklist:
[X] PR title matches follow: (Feature|Bug|Chore) Task Name
[X] My code follows the style guidelines of this project
[X] I have followed all the instructions described in the initial task (check Definitions of Done)
[X] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added reference to a related issue in the repository
[ ] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request (for frontend tasks)
[ ] I have pasted a gif showing the feature.
[ ] @mentions of the person or team responsible for reviewing proposed changes
Description
During high load times, there's a large number of login calls that fail with timeout or network error Currently call to server auth endpoint is called on every app refresh, there's no need. Let's reduce the number of calls according to the JWT expiration date or if no JWT exists.
About # (2909)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: