{"action":"closed","number":338,"pull_request":{"url":"https://api.github.com/repos/rackerlabs/qonos/pulls/338","id":21260560,"html_url":"https://github.com/rackerlabs/qonos/pull/338","diff_url":"https://github.com/rackerlabs/qonos/pull/338.diff","patch_url":"https://github.com/rackerlabs/qonos/pull/338.patch","issue_url":"https://api.github.com/repos/rackerlabs/qonos/issues/338","number":338,"state":"closed","locked":false,"title":"Qonos API rate control POST jobs requests","user":{"login":"clefelhocz","id":5190507,"avatar_url":"https://avatars.githubusercontent.com/u/5190507?v=3","gravatar_id":"","url":"https://api.github.com/users/clefelhocz","html_url":"https://github.com/clefelhocz","followers_url":"https://api.github.com/users/clefelhocz/followers","following_url":"https://api.github.com/users/clefelhocz/following{/other_user}","gists_url":"https://api.github.com/users/clefelhocz/gists{/gist_id}","starred_url":"https://api.github.com/users/clefelhocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clefelhocz/subscriptions","organizations_url":"https://api.github.com/users/clefelhocz/orgs","repos_url":"https://api.github.com/users/clefelhocz/repos","events_url":"https://api.github.com/users/clefelhocz/events{/privacy}","received_events_url":"https://api.github.com/users/clefelhocz/received_events","type":"User","site_admin":false},"body":"We need to keep the API from falling over when too many\r\nPOST workers/jobs requests are incoming.  To do this we\r\nleverage the rate limit'ing feature of nova-api to keep\r\nfrom too many requests being processed back through the database.\r\n\r\nRather than returning and error, we are electing to return \"no job\".\r\nThe worker is designed to retry periodically which should spread\r\nthem out.\r\n\r\nRM9089","created_at":"2014-09-15T21:00:58Z","updated_at":"2015-01-28T18:17:48Z","closed_at":"2015-01-28T18:17:48Z","merged_at":null,"merge_commit_sha":"60ff99030da20b9e8f0a77a9d317d72f5b292d87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/qonos/pulls/338/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/qonos/pulls/338/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/qonos/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rackerlabs/qonos/issues/338/comments","statuses_url":"https://api.github.com/repos/rackerlabs/qonos/statuses/ad411f0143bcada6a5a105fb06f2a6979fb0e928","head":{"label":"clefelhocz:qonos-api-rate-limit","ref":"qonos-api-rate-limit","sha":"ad411f0143bcada6a5a105fb06f2a6979fb0e928","user":{"login":"clefelhocz","id":5190507,"avatar_url":"https://avatars.githubusercontent.com/u/5190507?v=3","gravatar_id":"","url":"https://api.github.com/users/clefelhocz","html_url":"https://github.com/clefelhocz","followers_url":"https://api.github.com/users/clefelhocz/followers","following_url":"https://api.github.com/users/clefelhocz/following{/other_user}","gists_url":"https://api.github.com/users/clefelhocz/gists{/gist_id}","starred_url":"https://api.github.com/users/clefelhocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clefelhocz/subscriptions","organizations_url":"https://api.github.com/users/clefelhocz/orgs","repos_url":"https://api.github.com/users/clefelhocz/repos","events_url":"https://api.github.com/users/clefelhocz/events{/privacy}","received_events_url":"https://api.github.com/users/clefelhocz/received_events","type":"User","site_admin":false},"repo":{"id":24073631,"name":"qonos","full_name":"clefelhocz/qonos","owner":{"login":"clefelhocz","id":5190507,"avatar_url":"https://avatars.githubusercontent.com/u/5190507?v=3","gravatar_id":"","url":"https://api.github.com/users/clefelhocz","html_url":"https://github.com/clefelhocz","followers_url":"https://api.github.com/users/clefelhocz/followers","following_url":"https://api.github.com/users/clefelhocz/following{/other_user}","gists_url":"https://api.github.com/users/clefelhocz/gists{/gist_id}","starred_url":"https://api.github.com/users/clefelhocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clefelhocz/subscriptions","organizations_url":"https://api.github.com/users/clefelhocz/orgs","repos_url":"https://api.github.com/users/clefelhocz/repos","events_url":"https://api.github.com/users/clefelhocz/events{/privacy}","received_events_url":"https://api.github.com/users/clefelhocz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clefelhocz/qonos","description":"send_job_update","fork":true,"url":"https://api.github.com/repos/clefelhocz/qonos","forks_url":"https://api.github.com/repos/clefelhocz/qonos/forks","keys_url":"https://api.github.com/repos/clefelhocz/qonos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clefelhocz/qonos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clefelhocz/qonos/teams","hooks_url":"https://api.github.com/repos/clefelhocz/qonos/hooks","issue_events_url":"https://api.github.com/repos/clefelhocz/qonos/issues/events{/number}","events_url":"https://api.github.com/repos/clefelhocz/qonos/events","assignees_url":"https://api.github.com/repos/clefelhocz/qonos/assignees{/user}","branches_url":"https://api.github.com/repos/clefelhocz/qonos/branches{/branch}","tags_url":"https://api.github.com/repos/clefelhocz/qonos/tags","blobs_url":"https://api.github.com/repos/clefelhocz/qonos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clefelhocz/qonos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clefelhocz/qonos/git/refs{/sha}","trees_url":"https://api.github.com/repos/clefelhocz/qonos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clefelhocz/qonos/statuses/{sha}","languages_url":"https://api.github.com/repos/clefelhocz/qonos/languages","stargazers_url":"https://api.github.com/repos/clefelhocz/qonos/stargazers","contributors_url":"https://api.github.com/repos/clefelhocz/qonos/contributors","subscribers_url":"https://api.github.com/repos/clefelhocz/qonos/subscribers","subscription_url":"https://api.github.com/repos/clefelhocz/qonos/subscription","commits_url":"https://api.github.com/repos/clefelhocz/qonos/commits{/sha}","git_commits_url":"https://api.github.com/repos/clefelhocz/qonos/git/commits{/sha}","comments_url":"https://api.github.com/repos/clefelhocz/qonos/comments{/number}","issue_comment_url":"https://api.github.com/repos/clefelhocz/qonos/issues/comments/{number}","contents_url":"https://api.github.com/repos/clefelhocz/qonos/contents/{+path}","compare_url":"https://api.github.com/repos/clefelhocz/qonos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clefelhocz/qonos/merges","archive_url":"https://api.github.com/repos/clefelhocz/qonos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clefelhocz/qonos/downloads","issues_url":"https://api.github.com/repos/clefelhocz/qonos/issues{/number}","pulls_url":"https://api.github.com/repos/clefelhocz/qonos/pulls{/number}","milestones_url":"https://api.github.com/repos/clefelhocz/qonos/milestones{/number}","notifications_url":"https://api.github.com/repos/clefelhocz/qonos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clefelhocz/qonos/labels{/name}","releases_url":"https://api.github.com/repos/clefelhocz/qonos/releases{/id}","created_at":"2014-09-15T20:57:35Z","updated_at":"2014-09-09T14:25:20Z","pushed_at":"2014-09-18T02:17:44Z","git_url":"git://github.com/clefelhocz/qonos.git","ssh_url":"git@github.com:clefelhocz/qonos.git","clone_url":"https://github.com/clefelhocz/qonos.git","svn_url":"https://github.com/clefelhocz/qonos","homepage":"","size":1606,"stargazers_count":0,"watchers_count":0,"language":null,"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":"rackerlabs:master","ref":"master","sha":"40cdffec89037669165309d8b6136444a9582023","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":7528992,"name":"qonos","full_name":"rackerlabs/qonos","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/qonos","description":"send_job_update","fork":false,"url":"https://api.github.com/repos/rackerlabs/qonos","forks_url":"https://api.github.com/repos/rackerlabs/qonos/forks","keys_url":"https://api.github.com/repos/rackerlabs/qonos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/qonos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/qonos/teams","hooks_url":"https://api.github.com/repos/rackerlabs/qonos/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/qonos/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/qonos/events","assignees_url":"https://api.github.com/repos/rackerlabs/qonos/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/qonos/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/qonos/tags","blobs_url":"https://api.github.com/repos/rackerlabs/qonos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/qonos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/qonos/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/qonos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/qonos/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/qonos/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/qonos/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/qonos/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/qonos/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/qonos/subscription","commits_url":"https://api.github.com/repos/rackerlabs/qonos/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/qonos/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/qonos/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/qonos/issues/comments/{number}","contents_url":"https://api.github.com/repos/rackerlabs/qonos/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/qonos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/qonos/merges","archive_url":"https://api.github.com/repos/rackerlabs/qonos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/qonos/downloads","issues_url":"https://api.github.com/repos/rackerlabs/qonos/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/qonos/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/qonos/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/qonos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/qonos/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/qonos/releases{/id}","created_at":"2013-01-09T21:06:50Z","updated_at":"2015-01-28T18:06:23Z","pushed_at":"2015-01-28T18:06:23Z","git_url":"git://github.com/rackerlabs/qonos.git","ssh_url":"git@github.com:rackerlabs/qonos.git","clone_url":"https://github.com/rackerlabs/qonos.git","svn_url":"https://github.com/rackerlabs/qonos","homepage":"","size":3143,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":40,"forks":17,"open_issues":40,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/qonos/pulls/338"},"html":{"href":"https://github.com/rackerlabs/qonos/pull/338"},"issue":{"href":"https://api.github.com/repos/rackerlabs/qonos/issues/338"},"comments":{"href":"https://api.github.com/repos/rackerlabs/qonos/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/qonos/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/qonos/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/qonos/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/qonos/statuses/ad411f0143bcada6a5a105fb06f2a6979fb0e928"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":174,"deletions":1,"changed_files":4}}