Code Monkey home page Code Monkey logo

Comments (7)

ThreeCatsLoveFish avatar ThreeCatsLoveFish commented on June 12, 2024

代码逻辑是重试三轮,如果开同步执行不并发可能是会影响到下一轮cron的

这个1200确实可以的加个config,我稍后改下

from medalhelper.

JokerQyou avatar JokerQyou commented on June 12, 2024

原来是重试三轮,我以为无限重试的……看到它运行到第三次我就手动停了。如果有这个限制的话可能这个功能就不太需要了。我反而觉得白名单模式可能更实用一点,这个功能可以放一放。

from medalhelper.

ThreeCatsLoveFish avatar ThreeCatsLoveFish commented on June 12, 2024

原来是重试三轮,我以为无限重试的……看到它运行到第三次我就手动停了。

backOff = retry.WithMaxRetries(3, backOff)

白名单模式可能更实用一点,这个功能可以放一放。

白名单是指指定用户就一直打到1300吗

from medalhelper.

JokerQyou avatar JokerQyou commented on June 12, 2024

不是,现在不是只能用黑名单模式吗,就是默认是对所有的牌子做任务,只忽略黑名单里的。
我看 python 版本它新加了一个白名单模式,就是只对指定的 UID 的牌子去做任务,忽略其他的牌子。如果牌子比较多,但是只想养其中一小部分的话,白名单可能更友好,不用复制粘贴那么多 UID。

from medalhelper.

ThreeCatsLoveFish avatar ThreeCatsLoveFish commented on June 12, 2024

不是,现在不是只能用黑名单模式吗,就是默认是对所有的牌子做任务,只忽略黑名单里的。 我看 python 版本它新加了一个白名单模式,就是只对指定的 UID 的牌子去做任务,忽略其他的牌子。如果牌子比较多,但是只想养其中一小部分的话,白名单可能更友好,不用复制粘贴那么多 UID。

ok 我了解了,看起来白名单确实有需求,我本来以为大家只对黑名单感兴趣哈哈哈

from medalhelper.

JokerQyou avatar JokerQyou commented on June 12, 2024

重新检查了一下b站,发现所有牌子都显示达到了1300。所以这可能只是b站那边的统计延迟(或者数据展示延迟)。暂时可以先不加1200的配置逻辑,再观察一段时间。

from medalhelper.

ThreeCatsLoveFish avatar ThreeCatsLoveFish commented on June 12, 2024

重新检查了一下b站,发现所有牌子都显示达到了1300。所以这可能只是b站那边的统计延迟(或者数据展示延迟)。暂时可以先不加1200的配置逻辑,再观察一段时间。

确实是这样,我也感到很奇怪,今天早上的report显示最高的全都只有1200,但是我啥都没干,下午看的时候发现全都是1300,可能是接口有延迟?我不太清楚

from medalhelper.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.