{"action":"created","issue":{"url":"https://api.github.com/repos/koudelka/honeydew/issues/46","repository_url":"https://api.github.com/repos/koudelka/honeydew","labels_url":"https://api.github.com/repos/koudelka/honeydew/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/koudelka/honeydew/issues/46/comments","events_url":"https://api.github.com/repos/koudelka/honeydew/issues/46/events","html_url":"https://github.com/koudelka/honeydew/issues/46","id":318047900,"number":46,"title":"Postgres Notify for Ecto-backed Queue?","user":{"login":"jeremyjh","id":90510,"avatar_url":"https://avatars3.githubusercontent.com/u/90510?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremyjh","html_url":"https://github.com/jeremyjh","followers_url":"https://api.github.com/users/jeremyjh/followers","following_url":"https://api.github.com/users/jeremyjh/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjh/subscriptions","organizations_url":"https://api.github.com/users/jeremyjh/orgs","repos_url":"https://api.github.com/users/jeremyjh/repos","events_url":"https://api.github.com/users/jeremyjh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-26T14:11:43Z","updated_at":"2018-04-27T00:45:29Z","closed_at":null,"author_association":"NONE","body":"Hi this looks like a good fit for a project we are working on presently, but we currently have triggers send `NOTIFY` that a `GenServer` listens to rather than polling the database. This is because the updates come from outside our application, in a middleware integration service.  Would you consider a PR adding support for this? I could almost do it outside of `honeydew` except that I can't `enqueue` manually for Ecto-backed jobs. "},"comment":{"url":"https://api.github.com/repos/koudelka/honeydew/issues/comments/384830307","html_url":"https://github.com/koudelka/honeydew/issues/46#issuecomment-384830307","issue_url":"https://api.github.com/repos/koudelka/honeydew/issues/46","id":384830307,"user":{"login":"jeremyjh","id":90510,"avatar_url":"https://avatars3.githubusercontent.com/u/90510?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremyjh","html_url":"https://github.com/jeremyjh","followers_url":"https://api.github.com/users/jeremyjh/followers","following_url":"https://api.github.com/users/jeremyjh/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjh/subscriptions","organizations_url":"https://api.github.com/users/jeremyjh/orgs","repos_url":"https://api.github.com/users/jeremyjh/repos","events_url":"https://api.github.com/users/jeremyjh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjh/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T00:45:29Z","updated_at":"2018-04-27T00:45:29Z","author_association":"NONE","body":"Probably in most cases having a timer poll as a fallback would be a good idea. Maybe instead of tying NOTIFY and polling configuration together, honeydew could support a `:never` option for `:poll_interval` in case someone wants to disable polling. \r\n\r\nNOTIFY should probably let the channel name be configurable. \r\n\r\nAs far as reconnect notices, when the connection used by a `Postgrex.Notification` listener dies, it should kill the notification process and the owner process that started it - typically a GenServer that is supervised so it will get restarted and try to reconnect and start listening again."}}
{"actor":{"display_login":"jeremyjh"}}