{"action":"created","issue":{"url":"https://api.github.com/repos/pote/disc/issues/15","labels_url":"https://api.github.com/repos/pote/disc/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/pote/disc/issues/15/comments","events_url":"https://api.github.com/repos/pote/disc/issues/15/events","html_url":"https://github.com/pote/disc/issues/15","id":99911061,"number":15,"title":"Expose more addjob options","user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-09T16:22:15Z","updated_at":"2015-08-09T17:50:44Z","closed_at":null,"body":"Disque supports multiple parameters to control job execution:\r\n```\r\nADDJOB queue_name job <ms-timeout>\r\n  [REPLICATE <count>]\r\n  [DELAY <sec>]\r\n  [RETRY <sec>]\r\n  [TTL <sec>]\r\n  [MAXLEN <count>]\r\n  [ASYNC]\r\n```\r\n\r\nIt seems currently only delay is exposed in disc. Shouldn't it be possible to set the other options on the job class and when enqueing? The retry time strikes me as particularly important, because it depends on the average execution time of each job. "},"comment":{"url":"https://api.github.com/repos/pote/disc/issues/comments/129221797","html_url":"https://github.com/pote/disc/issues/15#issuecomment-129221797","issue_url":"https://api.github.com/repos/pote/disc/issues/15","id":129221797,"user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T17:50:44Z","updated_at":"2015-08-09T17:50:44Z","body":"I'm not yet using disc anywhere, but I'll give it a shot."}}