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

Unrecognized options "time-limit" and "failure-limit" #15

Open
nkrewcun opened this issue Sep 18, 2024 · 0 comments
Open

Unrecognized options "time-limit" and "failure-limit" #15

nkrewcun opened this issue Sep 18, 2024 · 0 comments

Comments

@nkrewcun
Copy link

I tried setting up the time-limit or failure-limit in my yaml config file like so:

win32_service:
  project_code: project
  messenger:
    -
      receivers: [aasync]
      displayed_name: Messenger Async worker %d
      limit: 500
      time-limit: 300
      failure-limit: 300

But encountered the following error:

Unrecognized options "time_limit, failure_limit" under "win32service.messenger.0". Did you mean "time-limit", "failure-limit"?

I also tried putting single quotes around the options but still get the same error.

The Symfony ArrayNode seems to be normalizing the options by changing the - to an _ and it prevents the use of these two options.

Could you fix this please?

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

No branches or pull requests

1 participant