{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18","id":41180425,"html_url":"https://github.com/rosette-proj/rosette-core/pull/18","diff_url":"https://github.com/rosette-proj/rosette-core/pull/18.diff","patch_url":"https://github.com/rosette-proj/rosette-core/pull/18.patch","issue_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/18","number":18,"state":"open","locked":false,"title":"Distribute consecutive finalize jobs","user":{"login":"camertron","id":575280,"avatar_url":"https://avatars.githubusercontent.com/u/575280?v=3","gravatar_id":"","url":"https://api.github.com/users/camertron","html_url":"https://github.com/camertron","followers_url":"https://api.github.com/users/camertron/followers","following_url":"https://api.github.com/users/camertron/following{/other_user}","gists_url":"https://api.github.com/users/camertron/gists{/gist_id}","starred_url":"https://api.github.com/users/camertron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camertron/subscriptions","organizations_url":"https://api.github.com/users/camertron/orgs","repos_url":"https://api.github.com/users/camertron/repos","events_url":"https://api.github.com/users/camertron/events{/privacy}","received_events_url":"https://api.github.com/users/camertron/received_events","type":"User","site_admin":false},"body":"Consecutive finalize jobs now get delayed between 10 and 45 minutes in an effort to distribute the number of jobs scheduled for any given minute over a wider range.\r\n\r\nWe've been seeing quite a queue backup with the new push-by-branch feature because consecutive finalize jobs (i.e. translations aren't done, so wait a bit and try again) are always delayed by exactly 10 minutes. Jobs that get delayed back-to-back are re-enqueued at almost the same time, causing a large number of jobs to be enqueued at once.\r\n\r\nBy choosing a random amount of time to delay (within a min and max), jobs should be more evenly distributed and not pile up.\r\n\r\n@jdoconnor @11mdlow @zvkemp @seunghyo ","created_at":"2015-07-29T22:36:27Z","updated_at":"2015-07-29T22:36:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"11mdlow","id":698419,"avatar_url":"https://avatars.githubusercontent.com/u/698419?v=3","gravatar_id":"","url":"https://api.github.com/users/11mdlow","html_url":"https://github.com/11mdlow","followers_url":"https://api.github.com/users/11mdlow/followers","following_url":"https://api.github.com/users/11mdlow/following{/other_user}","gists_url":"https://api.github.com/users/11mdlow/gists{/gist_id}","starred_url":"https://api.github.com/users/11mdlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/11mdlow/subscriptions","organizations_url":"https://api.github.com/users/11mdlow/orgs","repos_url":"https://api.github.com/users/11mdlow/repos","events_url":"https://api.github.com/users/11mdlow/events{/privacy}","received_events_url":"https://api.github.com/users/11mdlow/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18/commits","review_comments_url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18/comments","review_comment_url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/18/comments","statuses_url":"https://api.github.com/repos/rosette-proj/rosette-core/statuses/3fc1a203283caba0e3c8ed7ae198fc5434b5e72c","head":{"label":"rosette-proj:distributed_delay","ref":"distributed_delay","sha":"3fc1a203283caba0e3c8ed7ae198fc5434b5e72c","user":{"login":"rosette-proj","id":8634919,"avatar_url":"https://avatars.githubusercontent.com/u/8634919?v=3","gravatar_id":"","url":"https://api.github.com/users/rosette-proj","html_url":"https://github.com/rosette-proj","followers_url":"https://api.github.com/users/rosette-proj/followers","following_url":"https://api.github.com/users/rosette-proj/following{/other_user}","gists_url":"https://api.github.com/users/rosette-proj/gists{/gist_id}","starred_url":"https://api.github.com/users/rosette-proj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosette-proj/subscriptions","organizations_url":"https://api.github.com/users/rosette-proj/orgs","repos_url":"https://api.github.com/users/rosette-proj/repos","events_url":"https://api.github.com/users/rosette-proj/events{/privacy}","received_events_url":"https://api.github.com/users/rosette-proj/received_events","type":"Organization","site_admin":false},"repo":{"id":22569314,"name":"rosette-core","full_name":"rosette-proj/rosette-core","owner":{"login":"rosette-proj","id":8634919,"avatar_url":"https://avatars.githubusercontent.com/u/8634919?v=3","gravatar_id":"","url":"https://api.github.com/users/rosette-proj","html_url":"https://github.com/rosette-proj","followers_url":"https://api.github.com/users/rosette-proj/followers","following_url":"https://api.github.com/users/rosette-proj/following{/other_user}","gists_url":"https://api.github.com/users/rosette-proj/gists{/gist_id}","starred_url":"https://api.github.com/users/rosette-proj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosette-proj/subscriptions","organizations_url":"https://api.github.com/users/rosette-proj/orgs","repos_url":"https://api.github.com/users/rosette-proj/repos","events_url":"https://api.github.com/users/rosette-proj/events{/privacy}","received_events_url":"https://api.github.com/users/rosette-proj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rosette-proj/rosette-core","description":"Core classes for the Rosette internationalization platform.","fork":false,"url":"https://api.github.com/repos/rosette-proj/rosette-core","forks_url":"https://api.github.com/repos/rosette-proj/rosette-core/forks","keys_url":"https://api.github.com/repos/rosette-proj/rosette-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rosette-proj/rosette-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rosette-proj/rosette-core/teams","hooks_url":"https://api.github.com/repos/rosette-proj/rosette-core/hooks","issue_events_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/events{/number}","events_url":"https://api.github.com/repos/rosette-proj/rosette-core/events","assignees_url":"https://api.github.com/repos/rosette-proj/rosette-core/assignees{/user}","branches_url":"https://api.github.com/repos/rosette-proj/rosette-core/branches{/branch}","tags_url":"https://api.github.com/repos/rosette-proj/rosette-core/tags","blobs_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rosette-proj/rosette-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rosette-proj/rosette-core/languages","stargazers_url":"https://api.github.com/repos/rosette-proj/rosette-core/stargazers","contributors_url":"https://api.github.com/repos/rosette-proj/rosette-core/contributors","subscribers_url":"https://api.github.com/repos/rosette-proj/rosette-core/subscribers","subscription_url":"https://api.github.com/repos/rosette-proj/rosette-core/subscription","commits_url":"https://api.github.com/repos/rosette-proj/rosette-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rosette-proj/rosette-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rosette-proj/rosette-core/contents/{+path}","compare_url":"https://api.github.com/repos/rosette-proj/rosette-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rosette-proj/rosette-core/merges","archive_url":"https://api.github.com/repos/rosette-proj/rosette-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rosette-proj/rosette-core/downloads","issues_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues{/number}","pulls_url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rosette-proj/rosette-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rosette-proj/rosette-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rosette-proj/rosette-core/labels{/name}","releases_url":"https://api.github.com/repos/rosette-proj/rosette-core/releases{/id}","created_at":"2014-08-03T06:18:21Z","updated_at":"2015-03-30T23:47:38Z","pushed_at":"2015-07-29T22:36:28Z","git_url":"git://github.com/rosette-proj/rosette-core.git","ssh_url":"git@github.com:rosette-proj/rosette-core.git","clone_url":"https://github.com/rosette-proj/rosette-core.git","svn_url":"https://github.com/rosette-proj/rosette-core","homepage":null,"size":1372,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"rosette-proj:master","ref":"master","sha":"45aa82979ea32a90d235384c8787460f90866798","user":{"login":"rosette-proj","id":8634919,"avatar_url":"https://avatars.githubusercontent.com/u/8634919?v=3","gravatar_id":"","url":"https://api.github.com/users/rosette-proj","html_url":"https://github.com/rosette-proj","followers_url":"https://api.github.com/users/rosette-proj/followers","following_url":"https://api.github.com/users/rosette-proj/following{/other_user}","gists_url":"https://api.github.com/users/rosette-proj/gists{/gist_id}","starred_url":"https://api.github.com/users/rosette-proj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosette-proj/subscriptions","organizations_url":"https://api.github.com/users/rosette-proj/orgs","repos_url":"https://api.github.com/users/rosette-proj/repos","events_url":"https://api.github.com/users/rosette-proj/events{/privacy}","received_events_url":"https://api.github.com/users/rosette-proj/received_events","type":"Organization","site_admin":false},"repo":{"id":22569314,"name":"rosette-core","full_name":"rosette-proj/rosette-core","owner":{"login":"rosette-proj","id":8634919,"avatar_url":"https://avatars.githubusercontent.com/u/8634919?v=3","gravatar_id":"","url":"https://api.github.com/users/rosette-proj","html_url":"https://github.com/rosette-proj","followers_url":"https://api.github.com/users/rosette-proj/followers","following_url":"https://api.github.com/users/rosette-proj/following{/other_user}","gists_url":"https://api.github.com/users/rosette-proj/gists{/gist_id}","starred_url":"https://api.github.com/users/rosette-proj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosette-proj/subscriptions","organizations_url":"https://api.github.com/users/rosette-proj/orgs","repos_url":"https://api.github.com/users/rosette-proj/repos","events_url":"https://api.github.com/users/rosette-proj/events{/privacy}","received_events_url":"https://api.github.com/users/rosette-proj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rosette-proj/rosette-core","description":"Core classes for the Rosette internationalization platform.","fork":false,"url":"https://api.github.com/repos/rosette-proj/rosette-core","forks_url":"https://api.github.com/repos/rosette-proj/rosette-core/forks","keys_url":"https://api.github.com/repos/rosette-proj/rosette-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rosette-proj/rosette-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rosette-proj/rosette-core/teams","hooks_url":"https://api.github.com/repos/rosette-proj/rosette-core/hooks","issue_events_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/events{/number}","events_url":"https://api.github.com/repos/rosette-proj/rosette-core/events","assignees_url":"https://api.github.com/repos/rosette-proj/rosette-core/assignees{/user}","branches_url":"https://api.github.com/repos/rosette-proj/rosette-core/branches{/branch}","tags_url":"https://api.github.com/repos/rosette-proj/rosette-core/tags","blobs_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rosette-proj/rosette-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rosette-proj/rosette-core/languages","stargazers_url":"https://api.github.com/repos/rosette-proj/rosette-core/stargazers","contributors_url":"https://api.github.com/repos/rosette-proj/rosette-core/contributors","subscribers_url":"https://api.github.com/repos/rosette-proj/rosette-core/subscribers","subscription_url":"https://api.github.com/repos/rosette-proj/rosette-core/subscription","commits_url":"https://api.github.com/repos/rosette-proj/rosette-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rosette-proj/rosette-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rosette-proj/rosette-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rosette-proj/rosette-core/contents/{+path}","compare_url":"https://api.github.com/repos/rosette-proj/rosette-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rosette-proj/rosette-core/merges","archive_url":"https://api.github.com/repos/rosette-proj/rosette-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rosette-proj/rosette-core/downloads","issues_url":"https://api.github.com/repos/rosette-proj/rosette-core/issues{/number}","pulls_url":"https://api.github.com/repos/rosette-proj/rosette-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rosette-proj/rosette-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rosette-proj/rosette-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rosette-proj/rosette-core/labels{/name}","releases_url":"https://api.github.com/repos/rosette-proj/rosette-core/releases{/id}","created_at":"2014-08-03T06:18:21Z","updated_at":"2015-03-30T23:47:38Z","pushed_at":"2015-07-29T22:36:28Z","git_url":"git://github.com/rosette-proj/rosette-core.git","ssh_url":"git@github.com:rosette-proj/rosette-core.git","clone_url":"https://github.com/rosette-proj/rosette-core.git","svn_url":"https://github.com/rosette-proj/rosette-core","homepage":null,"size":1372,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18"},"html":{"href":"https://github.com/rosette-proj/rosette-core/pull/18"},"issue":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/issues/18"},"comments":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/rosette-proj/rosette-core/statuses/3fc1a203283caba0e3c8ed7ae198fc5434b5e72c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":2,"changed_files":2}}