Skip to content

Commit

Permalink
Merge pull request #267 from matomo-org/bump-version-5.1.0
Browse files Browse the repository at this point in the history
Bumped version to 5.1.0
  • Loading branch information
AltamashShaikh authored Oct 21, 2024
2 parents 832db07 + 1e6cb79 commit b5b7cdf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 1 addition & 4 deletions Commands/Monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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("<info>Only running " . $iterations . " iterations.</info>");
Expand Down Expand Up @@ -104,7 +101,7 @@ protected function doExecute(): int
if ($lastSumInQueue !== false) {
$diffSumInQueue = $lastSumInQueue - $sumInQueue;
$diffRps = round($diffSumInQueue / (microtime(true) - $lastStatsTimer), 2);
$diffSumInQueue = $diffSumInQueue < 0 ? "<fg=red;options=bold>" . abs($diffRps) . "</>" : "<fg=green;options=bold>{$diffRps}</>";
$diffSumInQueue = $diffSumInQueue < 0 ? "<fg=red;options=bold>" . number_format(abs($diffRps)) . "</>" : "<fg=green;options=bold>" . number_format($diffRps) . "</>";
}

$numInQueue = 0;
Expand Down
4 changes: 2 additions & 2 deletions Updates/5.0.8.php → Updates/5.1.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down

0 comments on commit b5b7cdf

Please sign in to comment.