oidc-client-js icon indicating copy to clipboard operation
oidc-client-js copied to clipboard

Too frequent timer calls?

Open nyn3x opened this issue 5 years ago • 5 comments

After authenticating I see the following log-statements: image

My understanding is, that the callback should be triggered in 3277/3338 seconds; but instead it seems to be triggered way to often ...

nyn3x avatar Sep 28 '20 07:09 nyn3x

There's an old thread on this. The more frequent checks was an attempt to deal with browser tabs being put to sleep (e.g. when the machine hibernates).

brockallen avatar Sep 28 '20 18:09 brockallen

But I don't really understand, where this frequency is coming from.

I noticed some posts in this direction - but is there any way to reduce this behavior? I didn't see any hints (at least in the posts I could find).

nyn3x avatar Sep 28 '20 19:09 nyn3x

Well, is it causing you any issues?

brockallen avatar Sep 28 '20 19:09 brockallen

Well, actually ... no. It just confuses me ... and somehow messes up debug view. But I can handle that by just not providing a logger. This is just the "nitpicker" speaking in me, that this shouldn't be there.

nyn3x avatar Oct 01 '20 10:10 nyn3x

Agreed this is annoying. I was considering making those trace level in the logs...

brockallen avatar Jan 28 '21 20:01 brockallen