diff --git a/docs/dev/changelog.md b/docs/dev/changelog.md index 1753b0b..c608d02 100644 --- a/docs/dev/changelog.md +++ b/docs/dev/changelog.md @@ -1,5 +1,12 @@ # Changelog +## Release 1.2.2 + +* Improved the way in which the result of the `run` and `test` commands gets outputted, it now also includes the chosen template. +* Significantly improved performance by implementing a better system for graceful IPC-based interrupting of the thread listening for messages from child processes. + +[View on GitHub](https://github.com/ZeroBone/OfficialEye/releases/tag/1.2.2){ .md-button } + ## Release 1.2.1 * Bug fixes & minor improvements. diff --git a/src/officialeye/_cli/ui.py b/src/officialeye/_cli/ui.py index 258a7fe..71784a1 100644 --- a/src/officialeye/_cli/ui.py +++ b/src/officialeye/_cli/ui.py @@ -110,7 +110,7 @@ def _child_listener(listener: _ChildrenListener, /): assert len(connections) >= 1 - wait(connections, timeout=1.0) + wait(connections, timeout=4.0) messages_to_handle: List[Tuple[Any, _Child]] = [] diff --git a/src/tests/unit/api/test_detect.py b/src/tests/unit/api/test_detect.py index 30891e3..04188a1 100644 --- a/src/tests/unit/api/test_detect.py +++ b/src/tests/unit/api/test_detect.py @@ -1,6 +1,6 @@ from difflib import SequenceMatcher -from officialeye import Context, IImage, Image, ISupervisionResult, Template, IInterpretationResult +from officialeye import Context, IImage, IInterpretationResult, Image, ISupervisionResult, Template from officialeye.detection import detect