Closed jdecaron closed 4 years ago
Hi, this PR would help us to solve https://github.com/kriskbx/gitlab-time-tracker/issues/82 and https://github.com/kriskbx/gitlab-time-tracker/issues/73 because we're overrating the GitLab limit (10 requests per second), can I help in something to move it forward? @kriskbx @jdecaron
PS: also update and include the yarn.lock file because the CI job fails without it
PS2: goes without saying, if you need any help with the changes, just ask.
This is a simple fix, maximum of 10 requests per seconds = maximum of 600 requests per minutes. It does slow down a bit the report but it prevent a fatal error. It's possible to design a more sophisticated fix but it will be more complex with more states to manage. It would be more prone to bugs. I favor simplicity over maximum speed.