Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped version to 5.1.0 #267

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading