{"action":"created","issue":{"url":"https://api.github.com/repos/rq/rq/issues/678","repository_url":"https://api.github.com/repos/rq/rq","labels_url":"https://api.github.com/repos/rq/rq/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/rq/rq/issues/678/comments","events_url":"https://api.github.com/repos/rq/rq/issues/678/events","html_url":"https://github.com/rq/rq/issues/678","id":141488760,"number":678,"title":"Unique jobs?","user":{"login":"tume","id":1030918,"avatar_url":"https://avatars1.githubusercontent.com/u/1030918?v=4","gravatar_id":"","url":"https://api.github.com/users/tume","html_url":"https://github.com/tume","followers_url":"https://api.github.com/users/tume/followers","following_url":"https://api.github.com/users/tume/following{/other_user}","gists_url":"https://api.github.com/users/tume/gists{/gist_id}","starred_url":"https://api.github.com/users/tume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tume/subscriptions","organizations_url":"https://api.github.com/users/tume/orgs","repos_url":"https://api.github.com/users/tume/repos","events_url":"https://api.github.com/users/tume/events{/privacy}","received_events_url":"https://api.github.com/users/tume/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-17T05:48:12Z","updated_at":"2018-02-23T13:47:35Z","closed_at":"2016-04-07T00:14:23Z","author_association":"NONE","body":"Didn't find any mention that is it possible to have unique jobs (enqueue/run only once). My current need is to make sure that only one job with specific args is in queue. I was thinking that I could do this with job_ids but seems that you can enqueue as many jobs you like with same the same id.\n\nIs there a builtin support or any known way to achieve this?\n"},"comment":{"url":"https://api.github.com/repos/rq/rq/issues/comments/368013181","html_url":"https://github.com/rq/rq/issues/678#issuecomment-368013181","issue_url":"https://api.github.com/repos/rq/rq/issues/678","id":368013181,"user":{"login":"yunderboy","id":13626136,"avatar_url":"https://avatars2.githubusercontent.com/u/13626136?v=4","gravatar_id":"","url":"https://api.github.com/users/yunderboy","html_url":"https://github.com/yunderboy","followers_url":"https://api.github.com/users/yunderboy/followers","following_url":"https://api.github.com/users/yunderboy/following{/other_user}","gists_url":"https://api.github.com/users/yunderboy/gists{/gist_id}","starred_url":"https://api.github.com/users/yunderboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunderboy/subscriptions","organizations_url":"https://api.github.com/users/yunderboy/orgs","repos_url":"https://api.github.com/users/yunderboy/repos","events_url":"https://api.github.com/users/yunderboy/events{/privacy}","received_events_url":"https://api.github.com/users/yunderboy/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T13:47:35Z","updated_at":"2018-02-23T13:47:35Z","author_association":"NONE","body":"@tume a solution would be to create a DB entry and get the generated ID from that specific entry and use that."}}
{"actor":{"display_login":"yunderboy"}}