From 15c4efd2e1c16337606550dd33c9fea3cab97998 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Fri, 18 Nov 2011 01:56:18 +0100 Subject: [PATCH] Generate less intensive work. --- bin/rqgenload | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/rqgenload b/bin/rqgenload index 12bf33e..537c82d 100755 --- a/bin/rqgenload +++ b/bin/rqgenload @@ -18,12 +18,15 @@ def main(): #funcs = filter(lambda s: not s.startswith('_'), dir(rq.dummy)) #print(funcs) - queues = ('default', 'foo', 'bar', 'qux', 'high', 'normal', 'low') + queues = ('default', 'high', 'normal', 'low') sample_calls = [ + (dummy.do_nothing, [], {}), + (dummy.do_nothing, [], {}), + (dummy.do_nothing, [], {}), + (dummy.do_nothing, [], {}), (dummy.do_nothing, [], {}), (dummy.sleep, [1], {}), - (dummy.sleep, [2], {}), ] for i in range(opts.count):