From 367745ddf9494698327971b7f843f01a053a3662 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 28 Nov 2024 10:02:29 +1300 Subject: [PATCH] Bump patch version. --- lib/async/version.rb | 2 +- readme.md | 4 ++++ releases.md | 4 +--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/async/version.rb b/lib/async/version.rb index 9877c36..a1004ec 100644 --- a/lib/async/version.rb +++ b/lib/async/version.rb @@ -4,5 +4,5 @@ # Copyright, 2017-2024, by Samuel Williams. module Async - VERSION = "2.21.0" + VERSION = "2.21.1" end diff --git a/readme.md b/readme.md index 6db6f59..817c143 100644 --- a/readme.md +++ b/readme.md @@ -35,6 +35,10 @@ Please see the [project documentation](https://socketry.github.io/async/) for mo Please see the [project releases](https://socketry.github.io/async/releases/index) for all releases. +### v2.21.1 + + - [Worker Pool](https://socketry.github.io/async/releases/index#worker-pool) + ### v2.20.0 - [Traces and Metrics Providers](https://socketry.github.io/async/releases/index#traces-and-metrics-providers) diff --git a/releases.md b/releases.md index 4d0d08e..104fd5b 100644 --- a/releases.md +++ b/releases.md @@ -8,9 +8,7 @@ Ruby 3.4 will feature a new fiber scheduler hook, `blocking_operation_wait` whic The Async scheduler optionally supports this feature using a worker pool, by using the following environment variable: -``` -ASYNC_SCHEDULER_DEFAULT_WORKER_POOL=true -``` + ASYNC_SCHEDULER_DEFAULT_WORKER_POOL=true This will cause the scheduler to use a worker pool for general blocking operations, rather than blocking the event loop.