From cca7705365353e90c3d76015e1534666b95efe57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 10 Feb 2023 05:52:37 +0100 Subject: [PATCH] Continued: - renamed stacker names in_* -> incoming_* - renamed stacker names out_* -> outgoing_* - added missing configuration entries - updated 'core' framework to latest commit --- application/hub/classes/miner/class_BaseHubMiner.php | 4 ++-- application/hub/config.php | 6 ++++++ core | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/application/hub/classes/miner/class_BaseHubMiner.php b/application/hub/classes/miner/class_BaseHubMiner.php index 00be586b6..eec754f28 100644 --- a/application/hub/classes/miner/class_BaseHubMiner.php +++ b/application/hub/classes/miner/class_BaseHubMiner.php @@ -64,12 +64,12 @@ abstract class BaseHubMiner extends BaseHubSystem implements Updateable { /** * Stacker name for incoming queue */ - const STACKER_NAME_IN_QUEUE = 'in_queue'; + const STACKER_NAME_IN_QUEUE = 'incoming_queue'; /** * Stacker name for outcoming queue */ - const STACKER_NAME_OUT_QUEUE = 'out_queue'; + const STACKER_NAME_OUT_QUEUE = 'outgoing_queue'; /** * Maximum number of producers (2: test and real) diff --git a/application/hub/config.php b/application/hub/config.php index b5fb14205..e1532231a 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -1064,6 +1064,12 @@ $cfg->setConfigEntry('miner_real_hash_block_class', 'Org\Shipsimu\Hub\Block\Hash // CFG: HUB-COIN-MINER-MODE-CLASS $cfg->setConfigEntry('hub_coin_miner_mode_class', 'Org\Shipsimu\Hub\Miner\HubCoinMiner'); +// CFG: STACKER-INCOMING-QUEUE-MAX-SIZE +$cfg->setConfigEntry('stacker_incoming_queue_max_size', 1000); + +// CFG: STACKER-OUTGOING-QUEUE-MAX-SIZE +$cfg->setConfigEntry('stacker_outgoing_queue_max_size', 1000); + /////////////////////////////////////////////////////////////////////////////// // Cruncher configuration /////////////////////////////////////////////////////////////////////////////// diff --git a/core b/core index cef490aa0..4c3718f48 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit cef490aa082a79da16d3dd2b1951dd993c9eda08 +Subproject commit 4c3718f4802104b3d00cda889f9f062408d23f96 -- 2.39.5