From: Roland Häder Date: Fri, 10 Feb 2023 04:52:37 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cca7705365353e90c3d76015e1534666b95efe57;p=hub.git Continued: - renamed stacker names in_* -> incoming_* - renamed stacker names out_* -> outgoing_* - added missing configuration entries - updated 'core' framework to latest commit --- 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