queue_classic
queue_classic copied to clipboard
Simple, efficient worker queue for Ruby & PostgreSQL.
I am migrating my database from Postgres to Oracle. Does this gem support OracleSql. Any specific version that support Orracle database or any other gem with same functionality for Oracle...
Todo: - [ ] gem signing? - [ ] can we build in github actions instead of by hand? - [ ] code style; we can move to 2.6+ formatting,...
On production instance (`rake qc:work`) regularly crashes with `PG::ConnectionBad: connection is closed` exceptions. This may be related to QueueClassic's https://github.com/QueueClassic/queue_classic/issues/317 and https://github.com/QueueClassic/queue_classic/pull/318 . I'm not sure if this has any...
How can I fix this issue? It's happening in production but not development. There is an [issue from 2013](https://github.com/QueueClassic/queue_classic/issues/141) that seems relevant, but slightly different. My setup with rails is...
When ActiveRecord integration is enabled with QC_RAILS_DATABASE=true, queue_classic sometimes causes my rails application to hang, and I have to restart the application server to get it to work again. It...
When ActiveRecord integration is enabled, `ConnAdapter` is constructed with connection taken from ActiveRecord pool: https://github.com/QueueClassic/queue_classic/blob/4260d8963ddef91bdb9ae390d93e811521b83350/lib/queue_classic.rb#L57 However, according to ActiveRecord [documentation](https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/ConnectionPool.html), it's not a correct way to do it, as the...
This provides a way to work off all the jobs in the queue and exit afterwards. Closes #191.
Hey, it looks like forking is not working right now (on master). I did not look at it very deeply (i.e., I have no clue why it is not working...
It would be convenient to have a single entry point into QC that processes all jobs, then exits (i.e. a non-daemon based worker). Something resembling: ``` session $ QC_EXIT_ON_COMPLETION=true rake...
Tries to fix #207 When a worker forks, the forked process inherits its master connection. Then, after the forked process is finished (exactly where I can't pinpoint), the master connection...