samsondav / rihanna

Rihanna is a high performance postgres-backed job queue for Elixir
MIT License
439 stars 47 forks source link

Add support for enqueuing via an Ecto repo #42

Closed lpil closed 5 years ago

lpil commented 5 years ago

First pass at the Ecto integration

lpil commented 5 years ago

I don't think Ecto should be the default because it requires a lot more config/setup and generally I think defaults should be minimal and assume the least of the user.

We can make use with Ecto prominent in the README. I'll write something up.

Have you tested this against your application?

Yes, and it seems to work. I especially like that I can just query the database to see what jobs have been enqueued with the Ecto sandbox :)

lpil commented 5 years ago

OK, how does that look?

lpil commented 5 years ago

Bumped to 1.2.0