Skip to content

Commit

Permalink
Update src/guidellm/request/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Parfeniuk <[email protected]>
  • Loading branch information
markurtz and parfeniuklits authored Jul 2, 2024
1 parent 73dbf14 commit 6a3ada2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/guidellm/request/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def __init__(
logger.debug("No tokenizer provided")

if self._mode == "async":
self._thread = threading.Thread(target=self._populate_queue)
self._thread.daemon = True
self._thread = threading.Thread(target=self._populate_queue, daemon=True)
self._thread.start()
logger.info(
"RequestGenerator started in async mode with queue size: {}",
Expand Down

0 comments on commit 6a3ada2

Please sign in to comment.