From 34a20f049dd20f9721bdb5c2bf2a728c7383a32f Mon Sep 17 00:00:00 2001 From: jrhoads Date: Wed, 24 Jan 2024 08:41:52 -0500 Subject: [PATCH 1/2] Shoryuken config --- config/shoryuken.yml | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/config/shoryuken.yml b/config/shoryuken.yml index 5a1ffdac7..bbe142cc9 100644 --- a/config/shoryuken.yml +++ b/config/shoryuken.yml @@ -1,23 +1,9 @@ -concurrency: 15 +concurrency: <%= ENV.fetch('SHORYUKEN_CONCURRENCY', 15) %> delay: 0 pidfile: tmp/pids/shoryuken.pid queues: - - lupo - -groups: - import: - concurrency: 10 - queues: - - lupo_import - import_other_doi: - concurrency: 10 - queues: - - lupo_import_other_doi - transfer: - concurrency: 10 - queues: - - lupo_transfer - background: - concurrency: 3 - queues: - - lupo_background + - [lupo, 8] + - [lupo_import, 8] + - [lupo_import_other_doi, 8] + - [lupo_transfer, 4] + - [lupo_background, 2] From 3e30347578644bddf3f2da1d967227cfe7a2b0cf Mon Sep 17 00:00:00 2001 From: jrhoads Date: Wed, 24 Jan 2024 09:48:27 -0500 Subject: [PATCH 2/2] Up default SHORYUKEN_CONCURRENCY to 30 --- config/shoryuken.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/shoryuken.yml b/config/shoryuken.yml index bbe142cc9..10d421444 100644 --- a/config/shoryuken.yml +++ b/config/shoryuken.yml @@ -1,4 +1,4 @@ -concurrency: <%= ENV.fetch('SHORYUKEN_CONCURRENCY', 15) %> +concurrency: <%= ENV.fetch('SHORYUKEN_CONCURRENCY', 30) %> delay: 0 pidfile: tmp/pids/shoryuken.pid queues: