Skip to content

Commit

Permalink
Merge pull request #33 from Aksem/feature/web_aiohttp
Browse files Browse the repository at this point in the history
Fix getting free port
  • Loading branch information
Aksem authored Nov 1, 2024
2 parents 638af19 + ffce63f commit 85568ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modapp/transports/utils/free_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ def get_free_port():
s.bind(("localhost", 0))
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
free_port = s.getsockname()[1]
return free_port
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "modapp"
version = "0.3.23"
version = "0.3.24"
description = ""
authors = ["Vladyslav Hnatiuk <vhnatiuk@ukr.net>"]
license = "MIT"
Expand Down

0 comments on commit 85568ed

Please sign in to comment.