diff --git a/CHANGELOG.md b/CHANGELOG.md
index 17e5aa6..ce26ad5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
## Changelog
+5.1.0 - 2021-10-21
+- Increased number of queue tracking workers to 4096
+- Enhance queue monitor and process commands
+- Added Redis cluster option
+
5.0.7 - 2024-08-26
- Fixed old redis sentinel config issue
diff --git a/Commands/Monitor.php b/Commands/Monitor.php
index 0f8c98a..1cbaea6 100644
--- a/Commands/Monitor.php
+++ b/Commands/Monitor.php
@@ -37,9 +37,6 @@ protected function doExecute(): int
$systemCheck->checkRedisIsInstalled();
}
- $output->write(str_repeat("\r\n", 100));
- $output->write("\e[" . (100) . "A");
-
$iterations = $this->getIterationsFromArg();
if ($iterations !== null) {
$output->writeln("Only running " . $iterations . " iterations.");
@@ -104,7 +101,7 @@ protected function doExecute(): int
if ($lastSumInQueue !== false) {
$diffSumInQueue = $lastSumInQueue - $sumInQueue;
$diffRps = round($diffSumInQueue / (microtime(true) - $lastStatsTimer), 2);
- $diffSumInQueue = $diffSumInQueue < 0 ? "" . abs($diffRps) . ">" : "{$diffRps}>";
+ $diffSumInQueue = $diffSumInQueue < 0 ? "" . number_format(abs($diffRps)) . ">" : "" . number_format($diffRps) . ">";
}
$numInQueue = 0;
diff --git a/Updates/5.0.8.php b/Updates/5.1.0.php
similarity index 93%
rename from Updates/5.0.8.php
rename to Updates/5.1.0.php
index b3d4590..e2bae7d 100644
--- a/Updates/5.0.8.php
+++ b/Updates/5.1.0.php
@@ -17,9 +17,9 @@
use Piwik\Settings\FieldConfig;
/**
- * Update for version 5.0.8.
+ * Update for version 5.1.0.
*/
-class Updates_5_0_8 extends PiwikUpdates
+class Updates_5_1_0 extends PiwikUpdates
{
public function __construct(MigrationFactory $factory)
{
diff --git a/plugin.json b/plugin.json
index 84ac0c8..3c00ea5 100644
--- a/plugin.json
+++ b/plugin.json
@@ -1,6 +1,6 @@
{
"name": "QueuedTracking",
- "version": "5.0.8",
+ "version": "5.1.0",
"description": "Scale your large traffic Matomo service by queuing tracking requests in Redis or MySQL for better performance and reliability when experiencing peaks.",
"theme": false,
"keywords": ["tracker", "tracking", "queue", "redis"],