Skip to content

Commit

Permalink
Bump minor version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 13, 2025
1 parent 3a08e13 commit 671c5a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/async/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# Copyright, 2017-2024, by Samuel Williams.

module Async
VERSION = "2.22.0"
VERSION = "2.23.0"
end
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ 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.23.0

- Rename `ASYNC_SCHEDULER_DEFAULT_WORKER_POOL` to `ASYNC_SCHEDULER_WORKER_POOL`.
- [Fiber Stall Profiler](https://socketry.github.io/async/releases/index#fiber-stall-profiler)

### v2.21.1

- [Worker Pool](https://socketry.github.io/async/releases/index#worker-pool)
Expand Down
6 changes: 3 additions & 3 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Releases

## Unreleased
## v2.23.0

- Rename `ASYNC_SCHEDULER_DEFAULT_WORKER_POOL` to `ASYNC_SCHEDULER_WORKER_POOL`.

### Fiber Stall Profiler

After several iterations of experimentation, we are officially introducing the fiber stall profiler, implemented using the optional `fiber-profiler` gem. This gem is not included by default, but can be added to your project:

```bash
``` bash
$ bundle add fiber-profiler
```

After adding the gem, you can enable the fiber stall profiler by setting the `FIBER_PROFILER_CAPTURE=true` environment variable:

```bash
``` bash
$ FIBER_PROFILER_CAPTURE=true bundle exec ruby -rasync -e 'Async{Fiber.blocking{sleep 0.1}}'
Fiber stalled for 0.105 seconds
-e:1 in c-call '#<Class:Fiber>#blocking' (0.105s)
Expand Down

0 comments on commit 671c5a6

Please sign in to comment.