{"action":"created","issue":{"url":"https://api.github.com/repos/phstc/shoryuken/issues/92","labels_url":"https://api.github.com/repos/phstc/shoryuken/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/phstc/shoryuken/issues/92/comments","events_url":"https://api.github.com/repos/phstc/shoryuken/issues/92/events","html_url":"https://github.com/phstc/shoryuken/issues/92","id":68173285,"number":92,"title":"Using Aws::SQS::QueuePoller?","user":{"login":"sschepens","id":3072509,"avatar_url":"https://avatars.githubusercontent.com/u/3072509?v=3","gravatar_id":"","url":"https://api.github.com/users/sschepens","html_url":"https://github.com/sschepens","followers_url":"https://api.github.com/users/sschepens/followers","following_url":"https://api.github.com/users/sschepens/following{/other_user}","gists_url":"https://api.github.com/users/sschepens/gists{/gist_id}","starred_url":"https://api.github.com/users/sschepens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschepens/subscriptions","organizations_url":"https://api.github.com/users/sschepens/orgs","repos_url":"https://api.github.com/users/sschepens/repos","events_url":"https://api.github.com/users/sschepens/events{/privacy}","received_events_url":"https://api.github.com/users/sschepens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T19:23:54Z","updated_at":"2015-04-13T19:38:34Z","closed_at":null,"body":"Instead of manually sleeping :delay seconds for every queue which doesn't have messages why not use Aws::SQS::QueuePoller which is part of aws-sdk? http://docs.aws.amazon.com/sdkforruby/api/Aws/SQS/QueuePoller.html\r\nI think it's a great alternative and could save us from maintaining some code, like queue pausing.\r\nI'm trying to port current code to using it, but i don't understand yet if there could be problems if for example Fetcher's fetch method blocked polling and dispatching messages until Aws::SQS::QueuePoller ended for some reason or an exception was raised.\r\n\r\nMaybe the creators/maintainers could check this up.\r\n\r\nCheers!\r\nSebastian"},"comment":{"url":"https://api.github.com/repos/phstc/shoryuken/issues/comments/92473564","html_url":"https://github.com/phstc/shoryuken/issues/92#issuecomment-92473564","issue_url":"https://api.github.com/repos/phstc/shoryuken/issues/92","id":92473564,"user":{"login":"phstc","id":105652,"avatar_url":"https://avatars.githubusercontent.com/u/105652?v=3","gravatar_id":"","url":"https://api.github.com/users/phstc","html_url":"https://github.com/phstc","followers_url":"https://api.github.com/users/phstc/followers","following_url":"https://api.github.com/users/phstc/following{/other_user}","gists_url":"https://api.github.com/users/phstc/gists{/gist_id}","starred_url":"https://api.github.com/users/phstc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phstc/subscriptions","organizations_url":"https://api.github.com/users/phstc/orgs","repos_url":"https://api.github.com/users/phstc/repos","events_url":"https://api.github.com/users/phstc/events{/privacy}","received_events_url":"https://api.github.com/users/phstc/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T19:38:34Z","updated_at":"2015-04-13T19:38:34Z","body":"Hey @sschepens could you have a look at https://github.com/phstc/shoryuken/issues/30\r\n\r\nI will try to document / sum up this in the wiki. "}}