Skip to content

Instantly share code, notes, and snippets.

@mathieuravaux
Forked from slemiere/syntax.rb
Created April 17, 2012 16:15
Show Gist options
  • Save mathieuravaux/2407248 to your computer and use it in GitHub Desktop.
Save mathieuravaux/2407248 to your computer and use it in GitHub Desktop.
redis queues syntax
all_queues = ["test", "schedule", "process"]
QUEUES = "*"
# ["test", "schedule", "process"]
QUEUES = "test,schedule"
# ["test", "schedule"]
QUEUES = "*,~test"
# ["schedule", "process"]
QUEUES = "*,~test,process"
# ["schedule", "process"]
QUEUES = "*,~test,~process"
# ["schedule"]
QUEUES = "*,test,~process"
# ["schedule", "test"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment