Skip to content

Honor configured graceful timeout in controller#65

Merged
ioquatix merged 1 commit into
mainfrom
honor-controller-graceful-timeout
Jun 27, 2026
Merged

Honor configured graceful timeout in controller#65
ioquatix merged 1 commit into
mainfrom
honor-controller-graceful-timeout

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • Default Async::Container::Controller#initialize to GRACEFUL_TIMEOUT instead of literal true.
  • Add a regression test proving ASYNC_CONTAINER_GRACEFUL_TIMEOUT controls the controller default in a fresh process.

This complements socketry/async-service@3b2c234, which made Async::Service::Controller#stop honor inherited @graceful_stop. Without this lower-layer default, async-service still inherits literal true unless callers explicitly pass graceful_stop:.

Tests

  • bundle exec sus test/async/container/controller.rb
  • bundle exec sus

@samuel-williams-shopify samuel-williams-shopify force-pushed the honor-controller-graceful-timeout branch 2 times, most recently from ed46460 to 4d56327 Compare June 27, 2026 02:43
Assisted-By: devx/46718d0f-efc9-4196-a7c6-272fcf2ba5d0
@samuel-williams-shopify samuel-williams-shopify force-pushed the honor-controller-graceful-timeout branch from 4d56327 to 8f627e7 Compare June 27, 2026 02:53
@ioquatix ioquatix merged commit e2ce18a into main Jun 27, 2026
34 of 40 checks passed
@ioquatix ioquatix deleted the honor-controller-graceful-timeout branch June 27, 2026 03:03
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.

2 participants