From d6ec984301dc0f97f24c2b424247ba3127018af8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 14 Aug 2026 06:44:30 +0000 Subject: [PATCH 1/2] chore: release v2.3.4 [skip ci] --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 84b787e..20dd632 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.3.4-dev +v2.3.4 From c077a054c0543eb5dc82678e385a93ac113477b0 Mon Sep 17 00:00:00 2001 From: maldwg Date: Tue, 18 Aug 2026 12:57:23 +0200 Subject: [PATCH 2/2] use half the window size for domainator to test speedup options --- .pre-commit-config.yaml | 3 +-- src/detector/plugins/domainator_attributor.py | 2 +- src/detector/plugins/domainator_detector.py | 5 +---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c174cac..93acc21 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,8 @@ repos: - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 25.11.0 hooks: - id: black - language_version: python3.11 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: diff --git a/src/detector/plugins/domainator_attributor.py b/src/detector/plugins/domainator_attributor.py index 80be9db..a2fb056 100644 --- a/src/detector/plugins/domainator_attributor.py +++ b/src/detector/plugins/domainator_attributor.py @@ -122,5 +122,5 @@ def detect(self): } self.warnings.append(warning) - if len(self.message_queues[message_domain]) >= 10: + if len(self.message_queues[message_domain]) >= 5: del self.message_queues[message_domain][0] diff --git a/src/detector/plugins/domainator_detector.py b/src/detector/plugins/domainator_detector.py index 5937ccd..5422111 100644 --- a/src/detector/plugins/domainator_detector.py +++ b/src/detector/plugins/domainator_detector.py @@ -1,9 +1,6 @@ from src.detector.detector import DetectorBase import numpy as np from collections import defaultdict -import itertools -import pylcs -import Levenshtein from src.base.log_config import get_logger from src.detector.plugins.domainator_utils import ( @@ -100,6 +97,6 @@ def detect(self): } self.warnings.append(warning) - if len(self.message_queues[message_domain]) >= 10: + if len(self.message_queues[message_domain]) >= 5: del self.message_queues[message_domain][0] logger.debug(f"Domainator Message queue length: {len(self.message_queues)}")