{"action":"opened","issue":{"url":"https://api.github.com/repos/trevorsenior/snoocore/issues/84","labels_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/84/comments","events_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/84/events","html_url":"https://github.com/trevorsenior/snoocore/issues/84","id":56184469,"number":84,"title":"Throttling is incorrectly affected by slow responses","user":{"login":"go1dfish","id":818045,"avatar_url":"https://avatars.githubusercontent.com/u/818045?v=3","gravatar_id":"","url":"https://api.github.com/users/go1dfish","html_url":"https://github.com/go1dfish","followers_url":"https://api.github.com/users/go1dfish/followers","following_url":"https://api.github.com/users/go1dfish/following{/other_user}","gists_url":"https://api.github.com/users/go1dfish/gists{/gist_id}","starred_url":"https://api.github.com/users/go1dfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go1dfish/subscriptions","organizations_url":"https://api.github.com/users/go1dfish/orgs","repos_url":"https://api.github.com/users/go1dfish/repos","events_url":"https://api.github.com/users/go1dfish/events{/privacy}","received_events_url":"https://api.github.com/users/go1dfish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-02T00:00:34Z","updated_at":"2015-02-02T00:00:34Z","closed_at":null,"body":"Reddit's API request rules specify:\r\n\r\nMake no more than thirty requests per minute. \r\n\r\nBut the current implementation of Snoocores throttling does not seem to allow new requests to initiate while waiting for a response for a long one, even if sufficient time has passed, causing my bot to hang unnecessarily.  A pre-snoocore implementation of my bot was able to initiate additional requests in these situations, but after porting to snoocore it is a minor hindrance.  \r\n\r\nShouldn't the throttling only apply on the front end of the request and disregard how long it takes for it to complete?\r\n\r\nI know it's possible to disable the throttling entirely and recreate my own but that ideally shouldn't be necessary.\r\n\r\nAlso, very nice library, way better than my attempt with Nodewhal, I will be deprecating that project and redirecting users here."}}