blob: 5d6f55f027a516654816f74633e8c1a5e1954df8 (
plain)
1
2
3
4
5
6
7
8
9
|
from tasksconsumer import *
@queueconsumer('fast', 4)
def fast_queue(arguments):
print "fast", arguments
@queueconsumer('slow')
def slow_queue(arguments):
print "foobar", arguments
|