Skip to content

Commit c8a9cd6

Browse files
authored
Merge pull request #153 from eldario/fix-queue-stats
Fix pipeline stats on push message
2 parents d76ab34 + 48f64fb commit c8a9cd6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
66

7+
## Unreleased
8+
79
### Fixed
810

11+
- Check pipeline stats on message push [#147]
912
- Edit the $ttl calculation for the RoadRunnerStore, the time calculation takes place inside the spiral/roadrunner-kv package
1013
- Tasks were stuck in case of an error, the "release" method did not return them to the queue.
1114
- The "calculateBackoff" method incorrectly took the index "$job->attempts()"
1215
- The "withHeader" method of the "\Spiral\RoadRunner\Jobs\Task\WritableHeadersInterface" interface expects the type "string|iterable", "int" is passed
1316

17+
[#147]:https://github.com/roadrunner-php/laravel-bridge/issues/147
18+
1419
## v5.12.0
1520

1621
### Added

src/Queue/RoadRunnerQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private function getStats(?string $queue = null): Stat
120120

121121
/** @var Stat $stat */
122122
foreach ($stats as $stat) {
123-
if ($stat->getQueue() === $queue) {
123+
if ($stat->getPipeline() === $queue) {
124124
return $stat;
125125
}
126126
}

0 commit comments

Comments
 (0)