You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases.md
+22-26
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,34 @@
1
1
# Releases
2
2
3
-
## Unreleased
3
+
## v2.19.0
4
4
5
5
### Async::Scheduler Debugging
6
6
7
7
Occasionally on issues, I encounter people asking for help and I need more information. Pressing Ctrl-C to exit a hung program is common, but it usually doesn't provide enough information to diagnose the problem. Setting the `CONSOLE_LEVEL=debug` environment variable will now print additional information about the scheduler when you interrupt it, including a backtrace of the current tasks.
This gives better visibility into what the scheduler is doing, and should help diagnose issues.
28
26
29
27
### Console Shims
30
28
31
29
The `async` gem depends on `console` gem, because my goal was to have good logging by default without thinking about it too much. However, some users prefer to avoid using the `console` gem for logging, so I've added an experimental set of shims which should allow you to bypass the `console` gem entirely.
32
30
33
-
```ruby
31
+
```ruby
34
32
require'async/console'
35
33
require'async'
36
34
@@ -39,13 +37,11 @@ Async{raise "Boom"}
39
37
40
38
Will now use `Kernel#warn` to print the task failure warning:
0 commit comments