{"action":"created","comment":{"url":"https://api.github.com/repos/seomoz/qless-java/pulls/comments/25716575","id":25716575,"diff_hunk":"@@ -57,10 +61,11 @@ public int getHeartbeat() throws IOException {\n     return Integer.parseInt(heartbeat.toString());\n   }\n \n-  public int getMaxConcurrency() throws IOException {\n-    return Integer.parseInt(\n-        this.client.getConfig().get(LuaConfigParameter.MAX_CONCURRENCY)\n-        .toString());\n+  public Integer getMaxConcurrency() throws IOException {\n+    final String concurrency =\n+      (String) this.client.getConfig().get(getMaxConcurrencyConfigName());\n+    // if (concurrency == null || concurrency.isEmpty())","path":"src/main/java/com/moz/qless/Queue.java","position":22,"original_position":22,"commit_id":"efcae9425d234521e2e8017af5c9f346bbf70f04","original_commit_id":"efcae9425d234521e2e8017af5c9f346bbf70f04","user":{"login":"b4hand","id":708767,"avatar_url":"https://avatars.githubusercontent.com/u/708767?v=3","gravatar_id":"","url":"https://api.github.com/users/b4hand","html_url":"https://github.com/b4hand","followers_url":"https://api.github.com/users/b4hand/followers","following_url":"https://api.github.com/users/b4hand/following{/other_user}","gists_url":"https://api.github.com/users/b4hand/gists{/gist_id}","starred_url":"https://api.github.com/users/b4hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4hand/subscriptions","organizations_url":"https://api.github.com/users/b4hand/orgs","repos_url":"https://api.github.com/users/b4hand/repos","events_url":"https://api.github.com/users/b4hand/events{/privacy}","received_events_url":"https://api.github.com/users/b4hand/received_events","type":"User","site_admin":false},"body":"Commented out code?\r\n","created_at":"2015-03-03T19:14:47Z","updated_at":"2015-03-03T19:14:47Z","html_url":"https://github.com/seomoz/qless-java/pull/36#discussion_r25716575","pull_request_url":"https://api.github.com/repos/seomoz/qless-java/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/comments/25716575"},"html":{"href":"https://github.com/seomoz/qless-java/pull/36#discussion_r25716575"},"pull_request":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/seomoz/qless-java/pulls/36","id":30396174,"html_url":"https://github.com/seomoz/qless-java/pull/36","diff_url":"https://github.com/seomoz/qless-java/pull/36.diff","patch_url":"https://github.com/seomoz/qless-java/pull/36.patch","issue_url":"https://api.github.com/repos/seomoz/qless-java/issues/36","number":36,"state":"open","locked":false,"title":"Get/Set Queue Max Concurrency","user":{"login":"dlecocq","id":952157,"avatar_url":"https://avatars.githubusercontent.com/u/952157?v=3","gravatar_id":"","url":"https://api.github.com/users/dlecocq","html_url":"https://github.com/dlecocq","followers_url":"https://api.github.com/users/dlecocq/followers","following_url":"https://api.github.com/users/dlecocq/following{/other_user}","gists_url":"https://api.github.com/users/dlecocq/gists{/gist_id}","starred_url":"https://api.github.com/users/dlecocq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlecocq/subscriptions","organizations_url":"https://api.github.com/users/dlecocq/orgs","repos_url":"https://api.github.com/users/dlecocq/repos","events_url":"https://api.github.com/users/dlecocq/events{/privacy}","received_events_url":"https://api.github.com/users/dlecocq/received_events","type":"User","site_admin":false},"body":"There was a bug where attempting to set a queue's max concurrency was setting the `max-concurrency` config, not `<queue-name>-max-concurrency`.","created_at":"2015-03-03T17:50:21Z","updated_at":"2015-03-03T19:14:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe405b09547354509593cffada0a4fe3f9c5ff2","assignee":{"login":"b4hand","id":708767,"avatar_url":"https://avatars.githubusercontent.com/u/708767?v=3","gravatar_id":"","url":"https://api.github.com/users/b4hand","html_url":"https://github.com/b4hand","followers_url":"https://api.github.com/users/b4hand/followers","following_url":"https://api.github.com/users/b4hand/following{/other_user}","gists_url":"https://api.github.com/users/b4hand/gists{/gist_id}","starred_url":"https://api.github.com/users/b4hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4hand/subscriptions","organizations_url":"https://api.github.com/users/b4hand/orgs","repos_url":"https://api.github.com/users/b4hand/repos","events_url":"https://api.github.com/users/b4hand/events{/privacy}","received_events_url":"https://api.github.com/users/b4hand/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/seomoz/qless-java/pulls/36/commits","review_comments_url":"https://api.github.com/repos/seomoz/qless-java/pulls/36/comments","review_comment_url":"https://api.github.com/repos/seomoz/qless-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seomoz/qless-java/issues/36/comments","statuses_url":"https://api.github.com/repos/seomoz/qless-java/statuses/efcae9425d234521e2e8017af5c9f346bbf70f04","head":{"label":"seomoz:dan/queue-max-concurrency","ref":"dan/queue-max-concurrency","sha":"efcae9425d234521e2e8017af5c9f346bbf70f04","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":24432463,"name":"qless-java","full_name":"seomoz/qless-java","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/qless-java","description":"qless java binding","fork":false,"url":"https://api.github.com/repos/seomoz/qless-java","forks_url":"https://api.github.com/repos/seomoz/qless-java/forks","keys_url":"https://api.github.com/repos/seomoz/qless-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/qless-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/qless-java/teams","hooks_url":"https://api.github.com/repos/seomoz/qless-java/hooks","issue_events_url":"https://api.github.com/repos/seomoz/qless-java/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/qless-java/events","assignees_url":"https://api.github.com/repos/seomoz/qless-java/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/qless-java/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/qless-java/tags","blobs_url":"https://api.github.com/repos/seomoz/qless-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/qless-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/qless-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/qless-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/qless-java/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/qless-java/languages","stargazers_url":"https://api.github.com/repos/seomoz/qless-java/stargazers","contributors_url":"https://api.github.com/repos/seomoz/qless-java/contributors","subscribers_url":"https://api.github.com/repos/seomoz/qless-java/subscribers","subscription_url":"https://api.github.com/repos/seomoz/qless-java/subscription","commits_url":"https://api.github.com/repos/seomoz/qless-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/qless-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/qless-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/qless-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/qless-java/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/qless-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/qless-java/merges","archive_url":"https://api.github.com/repos/seomoz/qless-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/qless-java/downloads","issues_url":"https://api.github.com/repos/seomoz/qless-java/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/qless-java/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/qless-java/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/qless-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/qless-java/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/qless-java/releases{/id}","created_at":"2014-09-24T21:00:04Z","updated_at":"2015-02-13T21:23:51Z","pushed_at":"2015-03-03T17:50:08Z","git_url":"git://github.com/seomoz/qless-java.git","ssh_url":"git@github.com:seomoz/qless-java.git","clone_url":"https://github.com/seomoz/qless-java.git","svn_url":"https://github.com/seomoz/qless-java","homepage":"","size":993,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"seomoz:master","ref":"master","sha":"d6178b9bd513245faf019a93ce17652536ba1b1e","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":24432463,"name":"qless-java","full_name":"seomoz/qless-java","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/qless-java","description":"qless java binding","fork":false,"url":"https://api.github.com/repos/seomoz/qless-java","forks_url":"https://api.github.com/repos/seomoz/qless-java/forks","keys_url":"https://api.github.com/repos/seomoz/qless-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/qless-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/qless-java/teams","hooks_url":"https://api.github.com/repos/seomoz/qless-java/hooks","issue_events_url":"https://api.github.com/repos/seomoz/qless-java/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/qless-java/events","assignees_url":"https://api.github.com/repos/seomoz/qless-java/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/qless-java/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/qless-java/tags","blobs_url":"https://api.github.com/repos/seomoz/qless-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/qless-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/qless-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/qless-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/qless-java/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/qless-java/languages","stargazers_url":"https://api.github.com/repos/seomoz/qless-java/stargazers","contributors_url":"https://api.github.com/repos/seomoz/qless-java/contributors","subscribers_url":"https://api.github.com/repos/seomoz/qless-java/subscribers","subscription_url":"https://api.github.com/repos/seomoz/qless-java/subscription","commits_url":"https://api.github.com/repos/seomoz/qless-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/qless-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/qless-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/qless-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/qless-java/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/qless-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/qless-java/merges","archive_url":"https://api.github.com/repos/seomoz/qless-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/qless-java/downloads","issues_url":"https://api.github.com/repos/seomoz/qless-java/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/qless-java/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/qless-java/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/qless-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/qless-java/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/qless-java/releases{/id}","created_at":"2014-09-24T21:00:04Z","updated_at":"2015-02-13T21:23:51Z","pushed_at":"2015-03-03T17:50:08Z","git_url":"git://github.com/seomoz/qless-java.git","ssh_url":"git@github.com:seomoz/qless-java.git","clone_url":"https://github.com/seomoz/qless-java.git","svn_url":"https://github.com/seomoz/qless-java","homepage":"","size":993,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/36"},"html":{"href":"https://github.com/seomoz/qless-java/pull/36"},"issue":{"href":"https://api.github.com/repos/seomoz/qless-java/issues/36"},"comments":{"href":"https://api.github.com/repos/seomoz/qless-java/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seomoz/qless-java/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/seomoz/qless-java/statuses/efcae9425d234521e2e8017af5c9f346bbf70f04"}}}}