Skip to content

Commit b5b7cdf

Browse files
Merge pull request #267 from matomo-org/bump-version-5.1.0
Bumped version to 5.1.0
2 parents 832db07 + 1e6cb79 commit b5b7cdf

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Changelog
22

3+
5.1.0 - 2021-10-21
4+
- Increased number of queue tracking workers to 4096
5+
- Enhance queue monitor and process commands
6+
- Added Redis cluster option
7+
38
5.0.7 - 2024-08-26
49
- Fixed old redis sentinel config issue
510

Commands/Monitor.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ protected function doExecute(): int
3737
$systemCheck->checkRedisIsInstalled();
3838
}
3939

40-
$output->write(str_repeat("\r\n", 100));
41-
$output->write("\e[" . (100) . "A");
42-
4340
$iterations = $this->getIterationsFromArg();
4441
if ($iterations !== null) {
4542
$output->writeln("<info>Only running " . $iterations . " iterations.</info>");
@@ -104,7 +101,7 @@ protected function doExecute(): int
104101
if ($lastSumInQueue !== false) {
105102
$diffSumInQueue = $lastSumInQueue - $sumInQueue;
106103
$diffRps = round($diffSumInQueue / (microtime(true) - $lastStatsTimer), 2);
107-
$diffSumInQueue = $diffSumInQueue < 0 ? "<fg=red;options=bold>" . abs($diffRps) . "</>" : "<fg=green;options=bold>{$diffRps}</>";
104+
$diffSumInQueue = $diffSumInQueue < 0 ? "<fg=red;options=bold>" . number_format(abs($diffRps)) . "</>" : "<fg=green;options=bold>" . number_format($diffRps) . "</>";
108105
}
109106

110107
$numInQueue = 0;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
use Piwik\Settings\FieldConfig;
1818

1919
/**
20-
* Update for version 5.0.8.
20+
* Update for version 5.1.0.
2121
*/
22-
class Updates_5_0_8 extends PiwikUpdates
22+
class Updates_5_1_0 extends PiwikUpdates
2323
{
2424
public function __construct(MigrationFactory $factory)
2525
{

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "QueuedTracking",
3-
"version": "5.0.8",
3+
"version": "5.1.0",
44
"description": "Scale your large traffic Matomo service by queuing tracking requests in Redis or MySQL for better performance and reliability when experiencing peaks.",
55
"theme": false,
66
"keywords": ["tracker", "tracking", "queue", "redis"],

0 commit comments

Comments
 (0)