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

Closed
opened 2026-01-27 12:38:45 +01:00 by admin · 2 comments
Owner

Originally created by @nkrewcun on GitHub (Sep 18, 2024).

Originally assigned to: @macintoshplus on GitHub.

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?

Originally created by @nkrewcun on GitHub (Sep 18, 2024). Originally assigned to: @macintoshplus on GitHub. I tried setting up the time-limit or failure-limit in my yaml config file like so: ```yaml 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?
admin added the bug label 2026-01-27 12:38:45 +01:00
admin closed this issue 2026-01-27 12:38:45 +01:00
Author
Owner

@macintoshplus commented on GitHub (Oct 21, 2024):

See #16

@macintoshplus commented on GitHub (Oct 21, 2024): See #16
Author
Owner

@macintoshplus commented on GitHub (Oct 23, 2024):

Fixed in release v2.0.1

@macintoshplus commented on GitHub (Oct 23, 2024): Fixed in release v2.0.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: win32service/Win32ServiceBundle#8