{"action":"created","issue":{"url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/29","repository_url":"https://api.github.com/repos/platanus/capistrano3-delayed-job","labels_url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/29/comments","events_url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/29/events","html_url":"https://github.com/platanus/capistrano3-delayed-job/pull/29","id":148423483,"number":29,"title":"expand examples for delayed_job_pools","user":{"login":"rab","id":21304,"avatar_url":"https://avatars.githubusercontent.com/u/21304?v=3","gravatar_id":"","url":"https://api.github.com/users/rab","html_url":"https://github.com/rab","followers_url":"https://api.github.com/users/rab/followers","following_url":"https://api.github.com/users/rab/following{/other_user}","gists_url":"https://api.github.com/users/rab/gists{/gist_id}","starred_url":"https://api.github.com/users/rab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rab/subscriptions","organizations_url":"https://api.github.com/users/rab/orgs","repos_url":"https://api.github.com/users/rab/repos","events_url":"https://api.github.com/users/rab/events{/privacy}","received_events_url":"https://api.github.com/users/rab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-14T16:59:58Z","updated_at":"2016-04-14T18:18:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/pulls/29","html_url":"https://github.com/platanus/capistrano3-delayed-job/pull/29","diff_url":"https://github.com/platanus/capistrano3-delayed-job/pull/29.diff","patch_url":"https://github.com/platanus/capistrano3-delayed-job/pull/29.patch"},"body":"As I went looking to make a code change to allow multiple, named pools of workers handling different subsets of queues, I found that such configuration could already be specified with the existing code, but the example for delayed_job_pools gave no clue as to how that could be done."},"comment":{"url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/comments/210085164","html_url":"https://github.com/platanus/capistrano3-delayed-job/pull/29#issuecomment-210085164","issue_url":"https://api.github.com/repos/platanus/capistrano3-delayed-job/issues/29","id":210085164,"user":{"login":"rab","id":21304,"avatar_url":"https://avatars.githubusercontent.com/u/21304?v=3","gravatar_id":"","url":"https://api.github.com/users/rab","html_url":"https://github.com/rab","followers_url":"https://api.github.com/users/rab/followers","following_url":"https://api.github.com/users/rab/following{/other_user}","gists_url":"https://api.github.com/users/rab/gists{/gist_id}","starred_url":"https://api.github.com/users/rab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rab/subscriptions","organizations_url":"https://api.github.com/users/rab/orgs","repos_url":"https://api.github.com/users/rab/repos","events_url":"https://api.github.com/users/rab/events{/privacy}","received_events_url":"https://api.github.com/users/rab/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T18:18:17Z","updated_at":"2016-04-14T18:18:17Z","body":"Here's why I've commented out some of the sections:\r\n\r\n1. Some of them aren't actually valid code:  `set :delayed_job_pid_dir, 'path_to_pid_dir'` (unless you have very strange directory names)\r\n2. The use of `:delayed_job_pools` overrides `:delayed_job_workers` and `:delayed_job_queues` (thus my *Note* about that.\r\n3. For `:delayed_job_bin_path`, it would incorrectly set the value to `'script'` for the current _status quo_ of Rails 4.x (which will soon be Rails 5.x)"}}