Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbd3a63

Browse files
committed
bug#52158 [Messenger] Fix graceful exit with ids (HypeMC)
This PR was merged into the 6.3 branch.Discussion----------[Messenger] Fix graceful exit with ids| Q | A| ------------- | ---| Branch? | 6.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MITOne last case I missed in#52080Commits-------1fc56bb [Messenger] Fix graceful exit with ids
2 parents7b48483 +1fc56bb commitfbd3a63

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
124124
}
125125

126126
$this->retrySpecificIds($failureTransportName,$ids,$io,$shouldForce);
127-
$io->success('All done!');
127+
128+
if (!$this->shouldStop) {
129+
$io->success('All done!');
130+
}
128131

129132
return0;
130133
}
@@ -255,6 +258,10 @@ private function retrySpecificIds(string $failureTransportName, array $ids, Symf
255258

256259
$singleReceiver =newSingleMessageReceiver($receiver,$envelope);
257260
$this->runWorker($failureTransportName,$singleReceiver,$io,$shouldForce);
261+
262+
if ($this->shouldStop) {
263+
break;
264+
}
258265
}
259266
}
260267

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp