silentRenewHeartBeatCheck是否应该每3-4秒运行一次?我只想知道我是不是配置错了。我甚至不知道到哪里去检查可以配置这个的东西。如果它在做它应该做的事情,我就不会担心。
在短短几分钟内,我已经在chrome dev工具控制台中获得了150个这样的东西:
silentRenewHeartBeatCheck silentRenewRunning: true idToken: true _userData.value: true
在我的日志早期,我也得到了下面的错误,但不知道是什么原因导致的,除了我假设它与静默续订iframe运行有关,但可能不是:
Active resource loading counts reached to a per-frame limit while the tab is in background. Network requests will be delayed until a previous loading finishes, or the tab is foregrounded. See https://www.chromestatus.com/feature/5527160148197376 for more details
发布于 2018-11-25 17:30:43
你可以在这里查看源代码:https://github.com/damienbod/angular-auth-oidc-client/blob/master/src/services/oidc.security.service.ts。
不幸的是,它被硬编码为每三秒运行一次,并且没有配置选项。
发布于 2019-04-16 01:46:45
有关silentRenewHeartBeatCheck 消息问题的信息:
在您的OpenIDImplicitFlowConfiguration中,确保将log_console_debug_active设置为false。这将停止控制台中的silentRenewHeartBeatCheck消息。
https://stackoverflow.com/questions/53213640
复制相似问题