]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 10 Feb 2023 04:52:37 +0000 (05:52 +0100)
committerRoland Häder <roland@mxchange.org>
Fri, 10 Feb 2023 04:52:37 +0000 (05:52 +0100)
- 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
application/hub/config.php
core

index 00be586b6337d07e1b75c30685657bcfcdb02d4c..eec754f2842e431bf995cfecaff391f69a3dce73 100644 (file)
@@ -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)
index b5fb14205c309919c8a986d83a7f70842b50ffb6..e1532231a3c435abefdb68dfb591d263fdee68c5 100644 (file)
@@ -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 cef490aa082a79da16d3dd2b1951dd993c9eda08..4c3718f4802104b3d00cda889f9f062408d23f96 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit cef490aa082a79da16d3dd2b1951dd993c9eda08
+Subproject commit 4c3718f4802104b3d00cda889f9f062408d23f96