zoukankan      html  css  js  c++  java
  • 谷歌浏览器报错 Active resource loading counts reached to a per-frame

    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

    在2017年3月14日发表的Google Chrome 57版本中,为了延长笔记本电池使用寿命,加入了对于Javascript定时器的限制,原先的设置是1秒钟最多1次,现在的限制则更加严格,对于不在前台显示的标签页,直接限制其使用的CPU不能超过一个内核的1%,只有当你把这个标签页切换回前台时,才能正常工作,这就是上面那一行字的意思。

    具体内容可以参看这里

    如果想取消这个限制,可以在浏览器地址栏输入chrome://flags,然后找到Throttle expensive background timers,把它禁用就可以

  • 相关阅读:
    js字符串函数
    js流程语句
    js数组
    js变量
    js运算符
    Time.deltaTime和Time.realtimeSinceStartup
    Prefabs实例化 ResourceMgr
    SLua
    判断物体是否在摄像机内
    [Unity3D]引擎崩溃、异常、警告、BUG与提示总结及解决方法
  • 原文地址:https://www.cnblogs.com/lxwphp/p/10741011.html
Copyright © 2011-2022 走看看