From f4ed4cdf1779490a4ea36b3f18872a3db60a8db6 Mon Sep 17 00:00:00 2001 From: Adam McCrea Date: Tue, 5 Dec 2023 16:09:49 -0500 Subject: [PATCH] Local redis keeps dying with 10 million jobs --- .../test/benchmarks/collect_with_large_queues_benchmark.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judoscale-sidekiq/test/benchmarks/collect_with_large_queues_benchmark.rb b/judoscale-sidekiq/test/benchmarks/collect_with_large_queues_benchmark.rb index 7df38828..6da2d3b2 100644 --- a/judoscale-sidekiq/test/benchmarks/collect_with_large_queues_benchmark.rb +++ b/judoscale-sidekiq/test/benchmarks/collect_with_large_queues_benchmark.rb @@ -11,7 +11,7 @@ class CollectWithLargeQueuesBenchmark < Minitest::Benchmark # performance assertions will iterate over `bench_range`. # We'll use it to define the number Sidekiq jobs we enqueue in Redis. def self.bench_range - bench_exp 10, 10_000_000 #=> [10, 100, 1,000, 10,000, 100,000, 1,000,000, 10,000,000] + bench_exp 10, 1_000_000 #=> [10, 100, 1,000, 10,000, 100,000, 1,000,000] end def setup