{"action":"opened","number":106,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106","id":93758658,"html_url":"https://github.com/algolia/algoliasearch-magento-2/pull/106","diff_url":"https://github.com/algolia/algoliasearch-magento-2/pull/106.diff","patch_url":"https://github.com/algolia/algoliasearch-magento-2/pull/106.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/106","number":106,"state":"open","locked":false,"title":"Always process at least one queue job","user":{"login":"JanPetr","id":1058144,"avatar_url":"https://avatars.githubusercontent.com/u/1058144?v=3","gravatar_id":"","url":"https://api.github.com/users/JanPetr","html_url":"https://github.com/JanPetr","followers_url":"https://api.github.com/users/JanPetr/followers","following_url":"https://api.github.com/users/JanPetr/following{/other_user}","gists_url":"https://api.github.com/users/JanPetr/gists{/gist_id}","starred_url":"https://api.github.com/users/JanPetr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanPetr/subscriptions","organizations_url":"https://api.github.com/users/JanPetr/orgs","repos_url":"https://api.github.com/users/JanPetr/repos","events_url":"https://api.github.com/users/JanPetr/events{/privacy}","received_events_url":"https://api.github.com/users/JanPetr/received_events","type":"User","site_admin":false},"body":"Fixes the issue, when queue settings are set high, jobs are created and then put back to low. Currently it won't process any jobs and jobs are stuck in DB table.\r\nThis will ensure that at least one job will be processed every time queue runner runs no matter what data size of the job is.","created_at":"2016-11-15T12:45:03Z","updated_at":"2016-11-15T12:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"694e722c234040df1a92583d76ef78afb1c0828f","assignee":{"login":"maxiloc","id":1689007,"avatar_url":"https://avatars.githubusercontent.com/u/1689007?v=3","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxiloc","id":1689007,"avatar_url":"https://avatars.githubusercontent.com/u/1689007?v=3","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/106/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/statuses/e45488ad2971d2d0c2936db25fa20503dd7838b6","head":{"label":"algolia:always_process_at_least_one_queue_job","ref":"always_process_at_least_one_queue_job","sha":"e45488ad2971d2d0c2936db25fa20503dd7838b6","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":54131069,"name":"algoliasearch-magento-2","full_name":"algolia/algoliasearch-magento-2","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-magento-2","description":"Algolia Search integration for Magento 2.0.X","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-magento-2","forks_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/deployments","created_at":"2016-03-17T15:48:56Z","updated_at":"2016-10-24T12:25:22Z","pushed_at":"2016-11-15T12:45:03Z","git_url":"git://github.com/algolia/algoliasearch-magento-2.git","ssh_url":"git@github.com:algolia/algoliasearch-magento-2.git","clone_url":"https://github.com/algolia/algoliasearch-magento-2.git","svn_url":"https://github.com/algolia/algoliasearch-magento-2","homepage":"https://community.algolia.com/magento","size":6261,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":10,"forks":11,"open_issues":10,"watchers":24,"default_branch":"master"}},"base":{"label":"algolia:develop","ref":"develop","sha":"01664f693df52ad3158b5fd9536472eb1e247494","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":54131069,"name":"algoliasearch-magento-2","full_name":"algolia/algoliasearch-magento-2","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-magento-2","description":"Algolia Search integration for Magento 2.0.X","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-magento-2","forks_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-magento-2/deployments","created_at":"2016-03-17T15:48:56Z","updated_at":"2016-10-24T12:25:22Z","pushed_at":"2016-11-15T12:45:03Z","git_url":"git://github.com/algolia/algoliasearch-magento-2.git","ssh_url":"git@github.com:algolia/algoliasearch-magento-2.git","clone_url":"https://github.com/algolia/algoliasearch-magento-2.git","svn_url":"https://github.com/algolia/algoliasearch-magento-2","homepage":"https://community.algolia.com/magento","size":6261,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":10,"forks":11,"open_issues":10,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106"},"html":{"href":"https://github.com/algolia/algoliasearch-magento-2/pull/106"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/106"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento-2/statuses/e45488ad2971d2d0c2936db25fa20503dd7838b6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"JanPetr"}}