{"action":"created","comment":{"url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/comments/26139204","id":26139204,"diff_hunk":"@@ -37,7 +48,9 @@ def find_available(worker_name, limit = 5, max_run_time = Worker.max_run_time)\n             rescue Exception => e\n               Delayed::Worker.logger.warn(e.message)\n             end\n-            return [Delayed::Backend::Ironmq::Job.new(message)] if message\n+            if ready_to_run?(message)","path":"lib/delayed/backend/actions.rb","position":23,"original_position":23,"commit_id":"ff40412582c842e39083aa62c2fade21f46abbc5","original_commit_id":"ff40412582c842e39083aa62c2fade21f46abbc5","user":{"login":"thousandsofthem","id":736279,"avatar_url":"https://avatars.githubusercontent.com/u/736279?v=3","gravatar_id":"","url":"https://api.github.com/users/thousandsofthem","html_url":"https://github.com/thousandsofthem","followers_url":"https://api.github.com/users/thousandsofthem/followers","following_url":"https://api.github.com/users/thousandsofthem/following{/other_user}","gists_url":"https://api.github.com/users/thousandsofthem/gists{/gist_id}","starred_url":"https://api.github.com/users/thousandsofthem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thousandsofthem/subscriptions","organizations_url":"https://api.github.com/users/thousandsofthem/orgs","repos_url":"https://api.github.com/users/thousandsofthem/repos","events_url":"https://api.github.com/users/thousandsofthem/events{/privacy}","received_events_url":"https://api.github.com/users/thousandsofthem/received_events","type":"User","site_admin":false},"body":"i fear some small amount of delayed jobs can totally block processing, DJ would grab same message over and over again never reaching non-delayed ones. \r\nWhy not to use native \"delay\" MQ thing?","created_at":"2015-03-10T16:41:20Z","updated_at":"2015-03-10T16:41:20Z","html_url":"https://github.com/iron-io/delayed_job_ironmq/pull/17#discussion_r26139204","pull_request_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/comments/26139204"},"html":{"href":"https://github.com/iron-io/delayed_job_ironmq/pull/17#discussion_r26139204"},"pull_request":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17","id":30261020,"html_url":"https://github.com/iron-io/delayed_job_ironmq/pull/17","diff_url":"https://github.com/iron-io/delayed_job_ironmq/pull/17.diff","patch_url":"https://github.com/iron-io/delayed_job_ironmq/pull/17.patch","issue_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/17","number":17,"state":"open","locked":false,"title":"Use delayed_job  ~> 4.0.6","user":{"login":"sunloverz","id":1597561,"avatar_url":"https://avatars.githubusercontent.com/u/1597561?v=3","gravatar_id":"","url":"https://api.github.com/users/sunloverz","html_url":"https://github.com/sunloverz","followers_url":"https://api.github.com/users/sunloverz/followers","following_url":"https://api.github.com/users/sunloverz/following{/other_user}","gists_url":"https://api.github.com/users/sunloverz/gists{/gist_id}","starred_url":"https://api.github.com/users/sunloverz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunloverz/subscriptions","organizations_url":"https://api.github.com/users/sunloverz/orgs","repos_url":"https://api.github.com/users/sunloverz/repos","events_url":"https://api.github.com/users/sunloverz/events{/privacy}","received_events_url":"https://api.github.com/users/sunloverz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-02T06:19:49Z","updated_at":"2015-03-10T16:41:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c6560f4034e0d1ea1c4d28c078bb519b2f352dd","assignee":{"login":"thousandsofthem","id":736279,"avatar_url":"https://avatars.githubusercontent.com/u/736279?v=3","gravatar_id":"","url":"https://api.github.com/users/thousandsofthem","html_url":"https://github.com/thousandsofthem","followers_url":"https://api.github.com/users/thousandsofthem/followers","following_url":"https://api.github.com/users/thousandsofthem/following{/other_user}","gists_url":"https://api.github.com/users/thousandsofthem/gists{/gist_id}","starred_url":"https://api.github.com/users/thousandsofthem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thousandsofthem/subscriptions","organizations_url":"https://api.github.com/users/thousandsofthem/orgs","repos_url":"https://api.github.com/users/thousandsofthem/repos","events_url":"https://api.github.com/users/thousandsofthem/events{/privacy}","received_events_url":"https://api.github.com/users/thousandsofthem/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17/commits","review_comments_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17/comments","review_comment_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/17/comments","statuses_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/statuses/ff40412582c842e39083aa62c2fade21f46abbc5","head":{"label":"sunloverz:v3","ref":"v3","sha":"ff40412582c842e39083aa62c2fade21f46abbc5","user":{"login":"sunloverz","id":1597561,"avatar_url":"https://avatars.githubusercontent.com/u/1597561?v=3","gravatar_id":"","url":"https://api.github.com/users/sunloverz","html_url":"https://github.com/sunloverz","followers_url":"https://api.github.com/users/sunloverz/followers","following_url":"https://api.github.com/users/sunloverz/following{/other_user}","gists_url":"https://api.github.com/users/sunloverz/gists{/gist_id}","starred_url":"https://api.github.com/users/sunloverz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunloverz/subscriptions","organizations_url":"https://api.github.com/users/sunloverz/orgs","repos_url":"https://api.github.com/users/sunloverz/repos","events_url":"https://api.github.com/users/sunloverz/events{/privacy}","received_events_url":"https://api.github.com/users/sunloverz/received_events","type":"User","site_admin":false},"repo":{"id":31050892,"name":"delayed_job_ironmq","full_name":"sunloverz/delayed_job_ironmq","owner":{"login":"sunloverz","id":1597561,"avatar_url":"https://avatars.githubusercontent.com/u/1597561?v=3","gravatar_id":"","url":"https://api.github.com/users/sunloverz","html_url":"https://github.com/sunloverz","followers_url":"https://api.github.com/users/sunloverz/followers","following_url":"https://api.github.com/users/sunloverz/following{/other_user}","gists_url":"https://api.github.com/users/sunloverz/gists{/gist_id}","starred_url":"https://api.github.com/users/sunloverz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunloverz/subscriptions","organizations_url":"https://api.github.com/users/sunloverz/orgs","repos_url":"https://api.github.com/users/sunloverz/repos","events_url":"https://api.github.com/users/sunloverz/events{/privacy}","received_events_url":"https://api.github.com/users/sunloverz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunloverz/delayed_job_ironmq","description":"IronMQ backend for delayed_job","fork":true,"url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq","forks_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/forks","keys_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/teams","hooks_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/hooks","issue_events_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/issues/events{/number}","events_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/events","assignees_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/assignees{/user}","branches_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/branches{/branch}","tags_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/tags","blobs_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/statuses/{sha}","languages_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/languages","stargazers_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/stargazers","contributors_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/contributors","subscribers_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/subscribers","subscription_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/subscription","commits_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/contents/{+path}","compare_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/merges","archive_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/downloads","issues_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/issues{/number}","pulls_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/pulls{/number}","milestones_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/milestones{/number}","notifications_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/labels{/name}","releases_url":"https://api.github.com/repos/sunloverz/delayed_job_ironmq/releases{/id}","created_at":"2015-02-20T04:25:16Z","updated_at":"2015-02-20T04:25:17Z","pushed_at":"2015-03-10T04:50:34Z","git_url":"git://github.com/sunloverz/delayed_job_ironmq.git","ssh_url":"git@github.com:sunloverz/delayed_job_ironmq.git","clone_url":"https://github.com/sunloverz/delayed_job_ironmq.git","svn_url":"https://github.com/sunloverz/delayed_job_ironmq","homepage":"http://iron.io/","size":145,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iron-io:v3","ref":"v3","sha":"12dfc8e0289c2505d71ef7720ea7311060580056","user":{"login":"iron-io","id":908818,"avatar_url":"https://avatars.githubusercontent.com/u/908818?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-io","html_url":"https://github.com/iron-io","followers_url":"https://api.github.com/users/iron-io/followers","following_url":"https://api.github.com/users/iron-io/following{/other_user}","gists_url":"https://api.github.com/users/iron-io/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-io/subscriptions","organizations_url":"https://api.github.com/users/iron-io/orgs","repos_url":"https://api.github.com/users/iron-io/repos","events_url":"https://api.github.com/users/iron-io/events{/privacy}","received_events_url":"https://api.github.com/users/iron-io/received_events","type":"Organization","site_admin":false},"repo":{"id":8153753,"name":"delayed_job_ironmq","full_name":"iron-io/delayed_job_ironmq","owner":{"login":"iron-io","id":908818,"avatar_url":"https://avatars.githubusercontent.com/u/908818?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-io","html_url":"https://github.com/iron-io","followers_url":"https://api.github.com/users/iron-io/followers","following_url":"https://api.github.com/users/iron-io/following{/other_user}","gists_url":"https://api.github.com/users/iron-io/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-io/subscriptions","organizations_url":"https://api.github.com/users/iron-io/orgs","repos_url":"https://api.github.com/users/iron-io/repos","events_url":"https://api.github.com/users/iron-io/events{/privacy}","received_events_url":"https://api.github.com/users/iron-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iron-io/delayed_job_ironmq","description":"IronMQ backend for delayed_job","fork":true,"url":"https://api.github.com/repos/iron-io/delayed_job_ironmq","forks_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/forks","keys_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/teams","hooks_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/hooks","issue_events_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/events{/number}","events_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/events","assignees_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/assignees{/user}","branches_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/branches{/branch}","tags_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/tags","blobs_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/statuses/{sha}","languages_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/languages","stargazers_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/stargazers","contributors_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/contributors","subscribers_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/subscribers","subscription_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/subscription","commits_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/contents/{+path}","compare_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/merges","archive_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/downloads","issues_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues{/number}","pulls_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls{/number}","milestones_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/milestones{/number}","notifications_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/labels{/name}","releases_url":"https://api.github.com/repos/iron-io/delayed_job_ironmq/releases{/id}","created_at":"2013-02-12T06:02:52Z","updated_at":"2014-11-21T14:24:52Z","pushed_at":"2015-02-25T18:44:00Z","git_url":"git://github.com/iron-io/delayed_job_ironmq.git","ssh_url":"git@github.com:iron-io/delayed_job_ironmq.git","clone_url":"https://github.com/iron-io/delayed_job_ironmq.git","svn_url":"https://github.com/iron-io/delayed_job_ironmq","homepage":"http://iron.io/","size":254,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17"},"html":{"href":"https://github.com/iron-io/delayed_job_ironmq/pull/17"},"issue":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/17"},"comments":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/iron-io/delayed_job_ironmq/statuses/ff40412582c842e39083aa62c2fade21f46abbc5"}}}}