Skip to content

Commit 61736f5

Browse files
committed
fixes from copilot review
Signed-off-by: Mark Kurtz <[email protected]>
1 parent 4834767 commit 61736f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/guidellm/benchmark/aggregator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ def _is_in_cooldown(
911911
)
912912

913913
if self.cooldown >= 1: # Count/time-based cooldown
914-
if scheduler_state.remaining_requests < self.cooldown:
914+
if scheduler_state.remaining_requests <= self.cooldown:
915915
return True
916916

917917
current_time = (

src/guidellm/benchmark/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def _update_processing_states(
906906
cancelled_requests: int | None = None,
907907
errored_requests: int | None = None,
908908
):
909-
if self.benchmark_status is not None:
909+
if benchmark_status is not None:
910910
self.benchmark_status = benchmark_status
911911
if start_time is not None:
912912
self.start_time = start_time

0 commit comments

Comments
 (0)