2 Commits
0.4.1 ... 0.4.2

4 changed files with 10 additions and 4 deletions

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.4.2] - 2026-03-01
### Bug Fixes
- [`29ed2c8`](https://gitea.pufereq.pl/judas/judas_client/commit/29ed2c8e5d256aa7b75424e6d71e14463f8b9caa) **connector.py**: do not connect multiple times when BlockingIOError encountered in `Connector.connect()`
## [0.4.1] - 2026-02-28 ## [0.4.1] - 2026-02-28
### Bug Fixes ### Bug Fixes

View File

@@ -4,7 +4,7 @@ build-backend = "uv_build"
[project] [project]
name = "judas_client" name = "judas_client"
version = "0.4.1" version = "0.4.2"
description = "A client for judas, a remote PC fleet management system." description = "A client for judas, a remote PC fleet management system."
readme = "README.md" readme = "README.md"
authors = [] authors = []

View File

@@ -145,8 +145,8 @@ class Connector:
self.socket.connect((self.host, self.port)) self.socket.connect((self.host, self.port))
connected = True connected = True
except BlockingIOError: except BlockingIOError:
# Connection in progress # connection in progress
time.sleep(0.1) connected = True
except socket.error as e: except socket.error as e:
self.logger.error(f"[!] Connection error: {e}") self.logger.error(f"[!] Connection error: {e}")
self.logger.debug(f"[.] Retrying in {delay} seconds...") self.logger.debug(f"[.] Retrying in {delay} seconds...")

2
uv.lock generated
View File

@@ -275,7 +275,7 @@ wheels = [
[[package]] [[package]]
name = "judas-client" name = "judas-client"
version = "0.4.1" version = "0.4.2"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "judas-protocol" }, { name = "judas-protocol" },