{"action":"created","comment":{"url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/comments/110369439","pull_request_review_id":31538670,"id":110369439,"diff_hunk":"@@ -2,6 +2,7 @@ import Promise from 'bluebird'\n import log from 'npmlog'\n \n const BATCH_CHAR_LIMIT = 1990\n+const BATCH_SIZE_LIMIT = 100","path":"lib/get/get-outdated-destination-content.js","position":4,"original_position":4,"commit_id":"4a5b35e6319045027fe4d044fc218a40537a8ccd","original_commit_id":"4a5b35e6319045027fe4d044fc218a40537a8ccd","user":{"login":"Khaledgarbaya","id":1156093,"avatar_url":"https://avatars2.githubusercontent.com/u/1156093?v=3","gravatar_id":"","url":"https://api.github.com/users/Khaledgarbaya","html_url":"https://github.com/Khaledgarbaya","followers_url":"https://api.github.com/users/Khaledgarbaya/followers","following_url":"https://api.github.com/users/Khaledgarbaya/following{/other_user}","gists_url":"https://api.github.com/users/Khaledgarbaya/gists{/gist_id}","starred_url":"https://api.github.com/users/Khaledgarbaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khaledgarbaya/subscriptions","organizations_url":"https://api.github.com/users/Khaledgarbaya/orgs","repos_url":"https://api.github.com/users/Khaledgarbaya/repos","events_url":"https://api.github.com/users/Khaledgarbaya/events{/privacy}","received_events_url":"https://api.github.com/users/Khaledgarbaya/received_events","type":"User","site_admin":false},"body":"It rarely possible to hit max response size if you do `1990/62 = 32,xx`62 being a normal id of an asset/entry unless the user has created entries or assets with on character ids which very unlikely. ","created_at":"2017-04-07T11:29:52Z","updated_at":"2017-04-07T11:29:52Z","html_url":"https://github.com/contentful/contentful-batch-libs/pull/96#discussion_r110369439","pull_request_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/comments/110369439"},"html":{"href":"https://github.com/contentful/contentful-batch-libs/pull/96#discussion_r110369439"},"pull_request":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96","id":114783746,"html_url":"https://github.com/contentful/contentful-batch-libs/pull/96","diff_url":"https://github.com/contentful/contentful-batch-libs/pull/96.diff","patch_url":"https://github.com/contentful/contentful-batch-libs/pull/96.patch","issue_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/96","number":96,"state":"open","locked":false,"title":"fix(outdated content): apply limit to batched id query","user":{"login":"axe312ger","id":1737026,"avatar_url":"https://avatars2.githubusercontent.com/u/1737026?v=3","gravatar_id":"","url":"https://api.github.com/users/axe312ger","html_url":"https://github.com/axe312ger","followers_url":"https://api.github.com/users/axe312ger/followers","following_url":"https://api.github.com/users/axe312ger/following{/other_user}","gists_url":"https://api.github.com/users/axe312ger/gists{/gist_id}","starred_url":"https://api.github.com/users/axe312ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axe312ger/subscriptions","organizations_url":"https://api.github.com/users/axe312ger/orgs","repos_url":"https://api.github.com/users/axe312ger/repos","events_url":"https://api.github.com/users/axe312ger/events{/privacy}","received_events_url":"https://api.github.com/users/axe312ger/received_events","type":"User","site_admin":false},"body":"fixes #89","created_at":"2017-04-07T10:05:14Z","updated_at":"2017-04-07T11:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"525e90ead54369f3480d54f8feac7e99dd221497","assignee":{"login":"axe312ger","id":1737026,"avatar_url":"https://avatars2.githubusercontent.com/u/1737026?v=3","gravatar_id":"","url":"https://api.github.com/users/axe312ger","html_url":"https://github.com/axe312ger","followers_url":"https://api.github.com/users/axe312ger/followers","following_url":"https://api.github.com/users/axe312ger/following{/other_user}","gists_url":"https://api.github.com/users/axe312ger/gists{/gist_id}","starred_url":"https://api.github.com/users/axe312ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axe312ger/subscriptions","organizations_url":"https://api.github.com/users/axe312ger/orgs","repos_url":"https://api.github.com/users/axe312ger/repos","events_url":"https://api.github.com/users/axe312ger/events{/privacy}","received_events_url":"https://api.github.com/users/axe312ger/received_events","type":"User","site_admin":false},"assignees":[{"login":"axe312ger","id":1737026,"avatar_url":"https://avatars2.githubusercontent.com/u/1737026?v=3","gravatar_id":"","url":"https://api.github.com/users/axe312ger","html_url":"https://github.com/axe312ger","followers_url":"https://api.github.com/users/axe312ger/followers","following_url":"https://api.github.com/users/axe312ger/following{/other_user}","gists_url":"https://api.github.com/users/axe312ger/gists{/gist_id}","starred_url":"https://api.github.com/users/axe312ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axe312ger/subscriptions","organizations_url":"https://api.github.com/users/axe312ger/orgs","repos_url":"https://api.github.com/users/axe312ger/repos","events_url":"https://api.github.com/users/axe312ger/events{/privacy}","received_events_url":"https://api.github.com/users/axe312ger/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96/commits","review_comments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96/comments","review_comment_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/96/comments","statuses_url":"https://api.github.com/repos/contentful/contentful-batch-libs/statuses/4a5b35e6319045027fe4d044fc218a40537a8ccd","head":{"label":"contentful:fix/batched-id-query","ref":"fix/batched-id-query","sha":"4a5b35e6319045027fe4d044fc218a40537a8ccd","user":{"login":"contentful","id":472182,"avatar_url":"https://avatars3.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":46426087,"name":"contentful-batch-libs","full_name":"contentful/contentful-batch-libs","owner":{"login":"contentful","id":472182,"avatar_url":"https://avatars3.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contentful/contentful-batch-libs","description":"Library modules used by contentful batch utility CLI tools.","fork":false,"url":"https://api.github.com/repos/contentful/contentful-batch-libs","forks_url":"https://api.github.com/repos/contentful/contentful-batch-libs/forks","keys_url":"https://api.github.com/repos/contentful/contentful-batch-libs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/contentful-batch-libs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/contentful-batch-libs/teams","hooks_url":"https://api.github.com/repos/contentful/contentful-batch-libs/hooks","issue_events_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/contentful-batch-libs/events","assignees_url":"https://api.github.com/repos/contentful/contentful-batch-libs/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/contentful-batch-libs/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/contentful-batch-libs/tags","blobs_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/contentful-batch-libs/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/contentful-batch-libs/languages","stargazers_url":"https://api.github.com/repos/contentful/contentful-batch-libs/stargazers","contributors_url":"https://api.github.com/repos/contentful/contentful-batch-libs/contributors","subscribers_url":"https://api.github.com/repos/contentful/contentful-batch-libs/subscribers","subscription_url":"https://api.github.com/repos/contentful/contentful-batch-libs/subscription","commits_url":"https://api.github.com/repos/contentful/contentful-batch-libs/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/contentful-batch-libs/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/contentful-batch-libs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/contentful-batch-libs/merges","archive_url":"https://api.github.com/repos/contentful/contentful-batch-libs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/contentful-batch-libs/downloads","issues_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/contentful-batch-libs/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/contentful-batch-libs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/contentful-batch-libs/labels{/name}","releases_url":"https://api.github.com/repos/contentful/contentful-batch-libs/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/deployments","created_at":"2015-11-18T15:02:13Z","updated_at":"2017-02-27T13:12:06Z","pushed_at":"2017-04-07T10:55:41Z","git_url":"git://github.com/contentful/contentful-batch-libs.git","ssh_url":"git@github.com:contentful/contentful-batch-libs.git","clone_url":"https://github.com/contentful/contentful-batch-libs.git","svn_url":"https://github.com/contentful/contentful-batch-libs","homepage":null,"size":161,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"contentful:master","ref":"master","sha":"e0776adbff5b44cd5142978b4094b57b042b7808","user":{"login":"contentful","id":472182,"avatar_url":"https://avatars3.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":46426087,"name":"contentful-batch-libs","full_name":"contentful/contentful-batch-libs","owner":{"login":"contentful","id":472182,"avatar_url":"https://avatars3.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contentful/contentful-batch-libs","description":"Library modules used by contentful batch utility CLI tools.","fork":false,"url":"https://api.github.com/repos/contentful/contentful-batch-libs","forks_url":"https://api.github.com/repos/contentful/contentful-batch-libs/forks","keys_url":"https://api.github.com/repos/contentful/contentful-batch-libs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/contentful-batch-libs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/contentful-batch-libs/teams","hooks_url":"https://api.github.com/repos/contentful/contentful-batch-libs/hooks","issue_events_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/contentful-batch-libs/events","assignees_url":"https://api.github.com/repos/contentful/contentful-batch-libs/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/contentful-batch-libs/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/contentful-batch-libs/tags","blobs_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/contentful-batch-libs/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/contentful-batch-libs/languages","stargazers_url":"https://api.github.com/repos/contentful/contentful-batch-libs/stargazers","contributors_url":"https://api.github.com/repos/contentful/contentful-batch-libs/contributors","subscribers_url":"https://api.github.com/repos/contentful/contentful-batch-libs/subscribers","subscription_url":"https://api.github.com/repos/contentful/contentful-batch-libs/subscription","commits_url":"https://api.github.com/repos/contentful/contentful-batch-libs/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/contentful-batch-libs/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/contentful-batch-libs/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/contentful-batch-libs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/contentful-batch-libs/merges","archive_url":"https://api.github.com/repos/contentful/contentful-batch-libs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/contentful-batch-libs/downloads","issues_url":"https://api.github.com/repos/contentful/contentful-batch-libs/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/contentful-batch-libs/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/contentful-batch-libs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/contentful-batch-libs/labels{/name}","releases_url":"https://api.github.com/repos/contentful/contentful-batch-libs/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/contentful-batch-libs/deployments","created_at":"2015-11-18T15:02:13Z","updated_at":"2017-02-27T13:12:06Z","pushed_at":"2017-04-07T10:55:41Z","git_url":"git://github.com/contentful/contentful-batch-libs.git","ssh_url":"git@github.com:contentful/contentful-batch-libs.git","clone_url":"https://github.com/contentful/contentful-batch-libs.git","svn_url":"https://github.com/contentful/contentful-batch-libs","homepage":null,"size":161,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96"},"html":{"href":"https://github.com/contentful/contentful-batch-libs/pull/96"},"issue":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/96"},"comments":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/contentful/contentful-batch-libs/statuses/4a5b35e6319045027fe4d044fc218a40537a8ccd"}}}}
{"actor":{"display_login":"Khaledgarbaya"}}