Skip to content

Commit

Permalink
Version update 0.7.10.7.2 + changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
prokher committed Jul 25, 2020
1 parent 884a69b commit 5542cb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# Changelog

## [0.7.2] - 2020-07-26

- Quadratic growth of threads number has stopped. The problem was
observer on Python 3.6 and 3.7 and was not on 3.8, because starting
with 3.8 `ThreadPoolExecutor` does not spawn new thread if there are
idle threads in the pool already. The issue was in the fact that for
each of worker thread we run an event loop which default executor is
the `ThreadPoolExecutor` with default (by Python) number of threads.
All this eventually ended up in hundreds of thread created for each
`GraphqlWsConsumer` subclass.

## [0.7.1] - 2020-07-25

- Python 3.6 compatibility brought back.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build-backend = "poetry.masonry.api"
# Docs: https://python-poetry.org/docs/
[tool.poetry]
name = "django-channels-graphql-ws"
version = "0.7.1"
version = "0.7.2"
description = """Django Channels based WebSocket GraphQL server with \
Graphene-like subscriptions"""
authors = ["Alexander A. Prokhorov <[email protected]>"]
Expand Down

0 comments on commit 5542cb9

Please sign in to comment.