Skip to content

Commit 27d0e07

Browse files
authored
Async mode awaitable fix (#400)
* Fix mistakenly processed awaitable objects * Update changelog * Replace __isawaitable() with __is_future_or_coroutine() * Refactor async mode
1 parent 6e59b4a commit 27d0e07

File tree

5 files changed

+7006
-7175
lines changed

5 files changed

+7006
-7175
lines changed

docs/main/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ that were made in every particular version.
77
From version 0.7.6 *Dependency Injector* framework strictly
88
follows `Semantic versioning`_
99

10+
Development version
11+
-------------------
12+
- Fix mistakenly processed awaitable objects in async mode. This bug has corrupted
13+
``fastapi-redis`` example causing pool exhaustion.
14+
Thanks to Ilya Miroshnichenko and Valery Komarov for finding and reporting
15+
the issue.
16+
- Refactor async mode.
17+
1018
4.23.2
1119
------
1220
- Improve async mode exceptions handling.

0 commit comments

Comments
 (0)