10000 [Messenger] Symfony\Component\Messenger\EventListener\StopWorkerOnTimeLimitListener::__construct(): Argument #1 ($timeLimitInSeconds) must be of type int, string given · Issue #48082 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Messenger] Symfony\Component\Messenger\EventListener\StopWorkerOnTimeLimitListener::__construct(): Argument #1 ($timeLimitInSeconds) must be of type int, string given #48082

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

Closed
dkarlovi opened this issue Nov 2, 2022 · 0 comments

Comments

@dkarlovi
Copy link
Contributor
dkarlovi commented Nov 2, 2022

Symfony version(s) affected

5.4.14

Description

Time limit being a non-int creates a problem for messenger:consume

How to reproduce

bin/console messenger:consume -time-limit=5

Notice the typo.

Possible Solution

Check the type or cast?

Additional Context

No response

@dkarlovi dkarlovi added the Bug label Nov 2, 2022
chalasr added a commit that referenced this issue Nov 8, 2022
…ions (MatTheCat)

This PR was merged into the 4.4 branch.

Discussion
----------

[Messenger] Tell about messenger:consume invalid limit options

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #48082
| License       | MIT
| Doc PR        | N/A

Commits
-------

cca8bcd Tell about messenger:consume invalid limit options
@chalasr chalasr closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0