Module: Gouda::AnyQueue
- Defined in:
- lib/gouda/queue_constraints.rb
Overview
A queue constraint supports just one method, ‘to_sql`, which returns a condition based on the `queue_name` value of the `gouda_workloads` table. The minimal constraint is just a no-op - it allows execution of jobs from all queues in the system.
Class Method Summary collapse
Class Method Details
.to_sql ⇒ Object
9 10 11 |
# File 'lib/gouda/queue_constraints.rb', line 9 def self.to_sql "1=1" end |