{"action":"opened","number":340,"pull_request":{"url":"https://api.github.com/repos/toptal/chewy/pulls/340","id":60846898,"html_url":"https://github.com/toptal/chewy/pull/340","diff_url":"https://github.com/toptal/chewy/pull/340.diff","patch_url":"https://github.com/toptal/chewy/pull/340.patch","issue_url":"https://api.github.com/repos/toptal/chewy/issues/340","number":340,"state":"open","locked":false,"title":"Allow set import params for rake tasks","user":{"login":"barthez","id":151912,"avatar_url":"https://avatars.githubusercontent.com/u/151912?v=3","gravatar_id":"","url":"https://api.github.com/users/barthez","html_url":"https://github.com/barthez","followers_url":"https://api.github.com/users/barthez/followers","following_url":"https://api.github.com/users/barthez/following{/other_user}","gists_url":"https://api.github.com/users/barthez/gists{/gist_id}","starred_url":"https://api.github.com/users/barthez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barthez/subscriptions","organizations_url":"https://api.github.com/users/barthez/orgs","repos_url":"https://api.github.com/users/barthez/repos","events_url":"https://api.github.com/users/barthez/events{/privacy}","received_events_url":"https://api.github.com/users/barthez/received_events","type":"User","site_admin":false},"body":"In certain cases on batch import while resetting takes so much time (due slow bulk entry generation) that items from batch can be updated from a different source (like a web server). Tuning this parameter allows making single batch import fast enough that example situation never happen.\r\n\r\nFor a sake of symmetry, this change also allows you to set `refresh` param for import from a console.\r\n\r\n@pyromaniac What do you think?\r\n","created_at":"2016-02-26T14:12:06Z","updated_at":"2016-02-26T14:12:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toptal/chewy/pulls/340/commits","review_comments_url":"https://api.github.com/repos/toptal/chewy/pulls/340/comments","review_comment_url":"https://api.github.com/repos/toptal/chewy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/toptal/chewy/issues/340/comments","statuses_url":"https://api.github.com/repos/toptal/chewy/statuses/34de12c7fe51a52e97fa434b555648ee7251e06a","head":{"label":"toptal:rake-tasks-parameters","ref":"rake-tasks-parameters","sha":"34de12c7fe51a52e97fa434b555648ee7251e06a","user":{"login":"toptal","id":4004158,"avatar_url":"https://avatars.githubusercontent.com/u/4004158?v=3","gravatar_id":"","url":"https://api.github.com/users/toptal","html_url":"https://github.com/toptal","followers_url":"https://api.github.com/users/toptal/followers","following_url":"https://api.github.com/users/toptal/following{/other_user}","gists_url":"https://api.github.com/users/toptal/gists{/gist_id}","starred_url":"https://api.github.com/users/toptal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toptal/subscriptions","organizations_url":"https://api.github.com/users/toptal/orgs","repos_url":"https://api.github.com/users/toptal/repos","events_url":"https://api.github.com/users/toptal/events{/privacy}","received_events_url":"https://api.github.com/users/toptal/received_events","type":"Organization","site_admin":false},"repo":{"id":15042048,"name":"chewy","full_name":"toptal/chewy","owner":{"login":"toptal","id":4004158,"avatar_url":"https://avatars.githubusercontent.com/u/4004158?v=3","gravatar_id":"","url":"https://api.github.com/users/toptal","html_url":"https://github.com/toptal","followers_url":"https://api.github.com/users/toptal/followers","following_url":"https://api.github.com/users/toptal/following{/other_user}","gists_url":"https://api.github.com/users/toptal/gists{/gist_id}","starred_url":"https://api.github.com/users/toptal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toptal/subscriptions","organizations_url":"https://api.github.com/users/toptal/orgs","repos_url":"https://api.github.com/users/toptal/repos","events_url":"https://api.github.com/users/toptal/events{/privacy}","received_events_url":"https://api.github.com/users/toptal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/toptal/chewy","description":"High-level Elasticsearch Ruby framework based on the official elasticsearch-ruby client","fork":false,"url":"https://api.github.com/repos/toptal/chewy","forks_url":"https://api.github.com/repos/toptal/chewy/forks","keys_url":"https://api.github.com/repos/toptal/chewy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toptal/chewy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toptal/chewy/teams","hooks_url":"https://api.github.com/repos/toptal/chewy/hooks","issue_events_url":"https://api.github.com/repos/toptal/chewy/issues/events{/number}","events_url":"https://api.github.com/repos/toptal/chewy/events","assignees_url":"https://api.github.com/repos/toptal/chewy/assignees{/user}","branches_url":"https://api.github.com/repos/toptal/chewy/branches{/branch}","tags_url":"https://api.github.com/repos/toptal/chewy/tags","blobs_url":"https://api.github.com/repos/toptal/chewy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toptal/chewy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toptal/chewy/git/refs{/sha}","trees_url":"https://api.github.com/repos/toptal/chewy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toptal/chewy/statuses/{sha}","languages_url":"https://api.github.com/repos/toptal/chewy/languages","stargazers_url":"https://api.github.com/repos/toptal/chewy/stargazers","contributors_url":"https://api.github.com/repos/toptal/chewy/contributors","subscribers_url":"https://api.github.com/repos/toptal/chewy/subscribers","subscription_url":"https://api.github.com/repos/toptal/chewy/subscription","commits_url":"https://api.github.com/repos/toptal/chewy/commits{/sha}","git_commits_url":"https://api.github.com/repos/toptal/chewy/git/commits{/sha}","comments_url":"https://api.github.com/repos/toptal/chewy/comments{/number}","issue_comment_url":"https://api.github.com/repos/toptal/chewy/issues/comments{/number}","contents_url":"https://api.github.com/repos/toptal/chewy/contents/{+path}","compare_url":"https://api.github.com/repos/toptal/chewy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toptal/chewy/merges","archive_url":"https://api.github.com/repos/toptal/chewy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toptal/chewy/downloads","issues_url":"https://api.github.com/repos/toptal/chewy/issues{/number}","pulls_url":"https://api.github.com/repos/toptal/chewy/pulls{/number}","milestones_url":"https://api.github.com/repos/toptal/chewy/milestones{/number}","notifications_url":"https://api.github.com/repos/toptal/chewy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toptal/chewy/labels{/name}","releases_url":"https://api.github.com/repos/toptal/chewy/releases{/id}","deployments_url":"https://api.github.com/repos/toptal/chewy/deployments","created_at":"2013-12-09T08:33:03Z","updated_at":"2016-02-26T14:09:01Z","pushed_at":"2016-02-26T14:11:44Z","git_url":"git://github.com/toptal/chewy.git","ssh_url":"git@github.com:toptal/chewy.git","clone_url":"https://github.com/toptal/chewy.git","svn_url":"https://github.com/toptal/chewy","homepage":"","size":1656,"stargazers_count":771,"watchers_count":771,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":127,"mirror_url":null,"open_issues_count":24,"forks":127,"open_issues":24,"watchers":771,"default_branch":"master"}},"base":{"label":"toptal:master","ref":"master","sha":"3705036dd56c70ed82a9872407a605fa1c17f150","user":{"login":"toptal","id":4004158,"avatar_url":"https://avatars.githubusercontent.com/u/4004158?v=3","gravatar_id":"","url":"https://api.github.com/users/toptal","html_url":"https://github.com/toptal","followers_url":"https://api.github.com/users/toptal/followers","following_url":"https://api.github.com/users/toptal/following{/other_user}","gists_url":"https://api.github.com/users/toptal/gists{/gist_id}","starred_url":"https://api.github.com/users/toptal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toptal/subscriptions","organizations_url":"https://api.github.com/users/toptal/orgs","repos_url":"https://api.github.com/users/toptal/repos","events_url":"https://api.github.com/users/toptal/events{/privacy}","received_events_url":"https://api.github.com/users/toptal/received_events","type":"Organization","site_admin":false},"repo":{"id":15042048,"name":"chewy","full_name":"toptal/chewy","owner":{"login":"toptal","id":4004158,"avatar_url":"https://avatars.githubusercontent.com/u/4004158?v=3","gravatar_id":"","url":"https://api.github.com/users/toptal","html_url":"https://github.com/toptal","followers_url":"https://api.github.com/users/toptal/followers","following_url":"https://api.github.com/users/toptal/following{/other_user}","gists_url":"https://api.github.com/users/toptal/gists{/gist_id}","starred_url":"https://api.github.com/users/toptal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toptal/subscriptions","organizations_url":"https://api.github.com/users/toptal/orgs","repos_url":"https://api.github.com/users/toptal/repos","events_url":"https://api.github.com/users/toptal/events{/privacy}","received_events_url":"https://api.github.com/users/toptal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/toptal/chewy","description":"High-level Elasticsearch Ruby framework based on the official elasticsearch-ruby client","fork":false,"url":"https://api.github.com/repos/toptal/chewy","forks_url":"https://api.github.com/repos/toptal/chewy/forks","keys_url":"https://api.github.com/repos/toptal/chewy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toptal/chewy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toptal/chewy/teams","hooks_url":"https://api.github.com/repos/toptal/chewy/hooks","issue_events_url":"https://api.github.com/repos/toptal/chewy/issues/events{/number}","events_url":"https://api.github.com/repos/toptal/chewy/events","assignees_url":"https://api.github.com/repos/toptal/chewy/assignees{/user}","branches_url":"https://api.github.com/repos/toptal/chewy/branches{/branch}","tags_url":"https://api.github.com/repos/toptal/chewy/tags","blobs_url":"https://api.github.com/repos/toptal/chewy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toptal/chewy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toptal/chewy/git/refs{/sha}","trees_url":"https://api.github.com/repos/toptal/chewy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toptal/chewy/statuses/{sha}","languages_url":"https://api.github.com/repos/toptal/chewy/languages","stargazers_url":"https://api.github.com/repos/toptal/chewy/stargazers","contributors_url":"https://api.github.com/repos/toptal/chewy/contributors","subscribers_url":"https://api.github.com/repos/toptal/chewy/subscribers","subscription_url":"https://api.github.com/repos/toptal/chewy/subscription","commits_url":"https://api.github.com/repos/toptal/chewy/commits{/sha}","git_commits_url":"https://api.github.com/repos/toptal/chewy/git/commits{/sha}","comments_url":"https://api.github.com/repos/toptal/chewy/comments{/number}","issue_comment_url":"https://api.github.com/repos/toptal/chewy/issues/comments{/number}","contents_url":"https://api.github.com/repos/toptal/chewy/contents/{+path}","compare_url":"https://api.github.com/repos/toptal/chewy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toptal/chewy/merges","archive_url":"https://api.github.com/repos/toptal/chewy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toptal/chewy/downloads","issues_url":"https://api.github.com/repos/toptal/chewy/issues{/number}","pulls_url":"https://api.github.com/repos/toptal/chewy/pulls{/number}","milestones_url":"https://api.github.com/repos/toptal/chewy/milestones{/number}","notifications_url":"https://api.github.com/repos/toptal/chewy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toptal/chewy/labels{/name}","releases_url":"https://api.github.com/repos/toptal/chewy/releases{/id}","deployments_url":"https://api.github.com/repos/toptal/chewy/deployments","created_at":"2013-12-09T08:33:03Z","updated_at":"2016-02-26T14:09:01Z","pushed_at":"2016-02-26T14:11:44Z","git_url":"git://github.com/toptal/chewy.git","ssh_url":"git@github.com:toptal/chewy.git","clone_url":"https://github.com/toptal/chewy.git","svn_url":"https://github.com/toptal/chewy","homepage":"","size":1656,"stargazers_count":771,"watchers_count":771,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":127,"mirror_url":null,"open_issues_count":24,"forks":127,"open_issues":24,"watchers":771,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toptal/chewy/pulls/340"},"html":{"href":"https://github.com/toptal/chewy/pull/340"},"issue":{"href":"https://api.github.com/repos/toptal/chewy/issues/340"},"comments":{"href":"https://api.github.com/repos/toptal/chewy/issues/340/comments"},"review_comments":{"href":"https://api.github.com/repos/toptal/chewy/pulls/340/comments"},"review_comment":{"href":"https://api.github.com/repos/toptal/chewy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/toptal/chewy/pulls/340/commits"},"statuses":{"href":"https://api.github.com/repos/toptal/chewy/statuses/34de12c7fe51a52e97fa434b555648ee7251e06a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":30,"deletions":7,"changed_files":4}}