The Wayback Machine - https://web.archive.org/web/20250620201206/https://github.com/symfony/symfony/issues/60752
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

Appearance settings

[Messenger] convertToBytes ignores float values #60752

Copy link
Copy link
Closed
@ro0NL

Description

@ro0NL
Issue body actions

Symfony version(s) affected

7.2

Description

Hi,

The --memory-limit option for messenger:consume doesnt take into account float values:

https://3v4l.org/IdfBt

https://github.com/symfony/symfony/blob/7.2/src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php#L307

This seems very counter intuitive.

How to reproduce

bin/console messenger:consume some --memory-limit '1.5G'

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.