I set up my store with the userManager from redux-oidc, previously with version 2.2.1 and now with 3.0.0-beta14 and at both points the project I have experience a large bump in CPU usage when implementing the userManager, on a Macbook Pro 2017 the CPU usage increases from under 10% to between 15-25% and I have measured performance and see that checkSession, among other functions, are run extremely often.
Image of Chrome performance measurement with userManager
Image of Chrome performance measurement without userManager
This is the code implementing the OIDC, without it the app runs fine.
I set up my store with the userManager from redux-oidc, previously with version 2.2.1 and now with 3.0.0-beta14 and at both points the project I have experience a large bump in CPU usage when implementing the userManager, on a Macbook Pro 2017 the CPU usage increases from under 10% to between 15-25% and I have measured performance and see that checkSession, among other functions, are run extremely often.
Image of Chrome performance measurement with userManager
Image of Chrome performance measurement without userManager
This is the code implementing the OIDC, without it the app runs fine.
with authConfig
Any clue what is causing this? What is the checkSession actually doing and can it be run less often?