Giter Club home page Giter Club logo

Comments (4)

cnguy avatar cnguy commented on July 4, 2024 1

Yeah. I personally like doing burst: !(NODE_ENV === 'production').

from kayn.

cnguy avatar cnguy commented on July 4, 2024

Strange..

  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/summoner/v4/summoners/by-name/Kalane +0ms
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/summoner/v4/summoners/by-name/Kalane +0ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matchlists/by-account/GVq0P4iqcbjrnCnyYv1svMosAiMiPMxrBaOAnIX81aDAXQ +883ms
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matchlists/by-account/GVq0P4iqcbjrnCnyYv1svMosAiMiPMxrBaOAnIX81aDAXQ +720ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4162849766 +721ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4162862179 +1ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4161907704 +1ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4161893073 +0ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4146287779 +1ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4146237421 +0ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4146149969 +1ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4146128826 +0ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4145234282 +0ms
  kayn:request:outgoing [GET] => https://euw1.api.riotgames.com/lol/match/v4/matches/4145157629 +1ms
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4162849766 +1s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4162862179 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4161907704 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4161893073 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4146287779 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4146237421 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4146149969 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4146128826 +2s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4145234282 +3s
  kayn:request:incoming:success https://euw1.api.riotgames.com/lol/match/v4/matches/4145157629 +3s
kayn: 25992.704ms

Using DEBUG=kayn:* I was able to determine where the requests were taking a while. I'll look into it. Thank you for the issue.

from kayn.

cnguy avatar cnguy commented on July 4, 2024

Actually, are you using the development key?

20 requests every 1 seconds(s)
100 requests every 2 minutes(s)

It would be slow in this case. Spread's better for higher limits.

from kayn.

vkaelin avatar vkaelin commented on July 4, 2024

Yes I currently only have a dev key. So should I always use burst mode with dev key ?

from kayn.

Related Issues (20)

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.