From fd6fa0574a8edc085d50d2872d16b19646217dfd Mon Sep 17 00:00:00 2001 From: Jon Holba Date: Thu, 14 Nov 2024 10:23:33 +0100 Subject: [PATCH] Fix typing for batching interval --- src/ert/ensemble_evaluator/evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/ensemble_evaluator/evaluator.py b/src/ert/ensemble_evaluator/evaluator.py index 3855ec85cac..cf86a1f6f60 100644 --- a/src/ert/ensemble_evaluator/evaluator.py +++ b/src/ert/ensemble_evaluator/evaluator.py @@ -86,7 +86,7 @@ def __init__(self, ensemble: Ensemble, config: EvaluatorServerConfig): List[Tuple[EVENT_HANDLER, Event]] ] = asyncio.Queue() self._max_batch_size: int = 500 - self._batching_interval: int = 2 + self._batching_interval: float = 2.0 self._complete_batch: asyncio.Event = asyncio.Event() async def _publisher(self) -> None: