Skip to content

Ignore Puma empty worker stats

Jan Provaznik requested to merge puma-fix into master

What does this MR do?

Convert puma stat values to integers

In some cases (during worker start) it's possible that Puma.stats returns an empty hash for worker's last status. To deal with this we skip sampling of worker if the last status is empty.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports