{"action":"created","issue":{"url":"https://api.github.com/repos/carrot/roots-records/issues/32","repository_url":"https://api.github.com/repos/carrot/roots-records","labels_url":"https://api.github.com/repos/carrot/roots-records/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/carrot/roots-records/issues/32/comments","events_url":"https://api.github.com/repos/carrot/roots-records/issues/32/events","html_url":"https://github.com/carrot/roots-records/pull/32","id":161173355,"number":32,"title":"add new argument to queue url requests using cwait","user":{"login":"Leeds-eBooks","id":4380655,"avatar_url":"https://avatars.githubusercontent.com/u/4380655?v=3","gravatar_id":"","url":"https://api.github.com/users/Leeds-eBooks","html_url":"https://github.com/Leeds-eBooks","followers_url":"https://api.github.com/users/Leeds-eBooks/followers","following_url":"https://api.github.com/users/Leeds-eBooks/following{/other_user}","gists_url":"https://api.github.com/users/Leeds-eBooks/gists{/gist_id}","starred_url":"https://api.github.com/users/Leeds-eBooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leeds-eBooks/subscriptions","organizations_url":"https://api.github.com/users/Leeds-eBooks/orgs","repos_url":"https://api.github.com/users/Leeds-eBooks/repos","events_url":"https://api.github.com/users/Leeds-eBooks/events{/privacy}","received_events_url":"https://api.github.com/users/Leeds-eBooks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-20T11:24:19Z","updated_at":"2016-06-20T15:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/carrot/roots-records/pulls/32","html_url":"https://github.com/carrot/roots-records/pull/32","diff_url":"https://github.com/carrot/roots-records/pull/32.diff","patch_url":"https://github.com/carrot/roots-records/pull/32.patch"},"body":"I just had to make this as we are using roots-records with a BIG site and the multiple concurrent requests are bringing down our server. Rather than just ploughing more RAM into the server, simply queueing all requests to limit concurrency fixes this for us. The API I've chosen (simply passing a concurrency limit `number` into `records()`) is not the greatest but I just wondered if this would be something you might consider merging. Happy to do a bit more work on it if needed."},"comment":{"url":"https://api.github.com/repos/carrot/roots-records/issues/comments/227180707","html_url":"https://github.com/carrot/roots-records/pull/32#issuecomment-227180707","issue_url":"https://api.github.com/repos/carrot/roots-records/issues/32","id":227180707,"user":{"login":"jescalan","id":556932,"avatar_url":"https://avatars.githubusercontent.com/u/556932?v=3","gravatar_id":"","url":"https://api.github.com/users/jescalan","html_url":"https://github.com/jescalan","followers_url":"https://api.github.com/users/jescalan/followers","following_url":"https://api.github.com/users/jescalan/following{/other_user}","gists_url":"https://api.github.com/users/jescalan/gists{/gist_id}","starred_url":"https://api.github.com/users/jescalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jescalan/subscriptions","organizations_url":"https://api.github.com/users/jescalan/orgs","repos_url":"https://api.github.com/users/jescalan/repos","events_url":"https://api.github.com/users/jescalan/events{/privacy}","received_events_url":"https://api.github.com/users/jescalan/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T15:41:26Z","updated_at":"2016-06-20T15:41:26Z","body":"Yeah, that's a tough one, I think the time comparison is the best approach!"}}
{"actor":{"display_login":"jescalan"}}