{"action":"closed","issue":{"url":"https://api.github.com/repos/netlify/js-client/issues/10","repository_url":"https://api.github.com/repos/netlify/js-client","labels_url":"https://api.github.com/repos/netlify/js-client/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/netlify/js-client/issues/10/comments","events_url":"https://api.github.com/repos/netlify/js-client/issues/10/events","html_url":"https://github.com/netlify/js-client/issues/10","id":266450539,"node_id":"MDU6SXNzdWUyNjY0NTA1Mzk=","number":10,"title":"Lack of support for X-RateLimit during deployment","user":{"login":"dziudek","id":22004,"node_id":"MDQ6VXNlcjIyMDA0","avatar_url":"https://avatars1.githubusercontent.com/u/22004?v=4","gravatar_id":"","url":"https://api.github.com/users/dziudek","html_url":"https://github.com/dziudek","followers_url":"https://api.github.com/users/dziudek/followers","following_url":"https://api.github.com/users/dziudek/following{/other_user}","gists_url":"https://api.github.com/users/dziudek/gists{/gist_id}","starred_url":"https://api.github.com/users/dziudek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dziudek/subscriptions","organizations_url":"https://api.github.com/users/dziudek/orgs","repos_url":"https://api.github.com/users/dziudek/repos","events_url":"https://api.github.com/users/dziudek/events{/privacy}","received_events_url":"https://api.github.com/users/dziudek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-18T10:59:43Z","updated_at":"2018-09-25T22:39:46Z","closed_at":"2018-09-25T22:39:46Z","author_association":"NONE","body":"Hi,\r\n\r\nI have discovered an issue with your node client - your API has limit of 200 requests per minute, but it is impossible to handle it during deploying the website using your client.\r\n\r\nI have temporary fixed this issue by limiting parallels connections from 20 to 2: https://github.com/netlify/node-client/blob/master/lib/deploy.js#L56\r\n\r\nbut in fact the library should handle the X-Rate* headers and detect API limitations during deploying a website automatically."}}
{"actor":{"display_login":"bcomnes"}}