Skip to content
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

[3.0] Properly format numeric values #606

Merged
merged 1 commit into from
Jun 3, 2019
Merged

[3.0] Properly format numeric values #606

merged 1 commit into from
Jun 3, 2019

Conversation

bonzai
Copy link
Contributor

@bonzai bonzai commented Jun 3, 2019

Recently, Horizon introduced worker CPU and memory utilization in supervisor list, but there are locales that use a comma as a decimal separator. So, right now, you'll see a lot of exceptions in logs like this:

[0000-00-00 00:00:00] local.ERROR: A non well formed numeric value encountered {"exception":"[object] (ErrorException(code: 0): A non well formed numeric value encountered at /.../vendor/laravel/horizon/src/SystemProcessCounter.php:33)

because Horizon expects values like 0.25 instead of 0,25.

@driesvints driesvints changed the title Properly format numeric values [3.0] Properly format numeric values Jun 3, 2019
@taylorotwell taylorotwell merged commit b961435 into laravel:3.0 Jun 3, 2019
@bonzai bonzai deleted the format-numeric-values branch June 3, 2019 21:05
@driesvints
Copy link
Member

I've reverted this PR because the original PR that caused this bug (#589) was reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants