Skip to content

Commit f72cb2f

Browse files
author
Eldario
committed
Fix pipeline stats on push message
1 parent b2ef789 commit f72cb2f

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,12 +4,17 @@ 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
- Tasks were stuck in case of an error, the "release" method did not return them to the queue.
1013
- The "calculateBackoff" method incorrectly took the index "$job->attempts()"
1114
- The "withHeader" method of the "\Spiral\RoadRunner\Jobs\Task\WritableHeadersInterface" interface expects the type "string|iterable", "int" is passed
1215

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

1520
### 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)