Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Nov 30, 2023
1 parent 762cb8c commit 7f7906c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fastserve/batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ def process(self, item: Any):
def cancel(self):
logger.info("Terminating Batch Processor...")
self._cancel_signal.set()
self._thread.terminate()
# self._thread.join()
self._thread.join()
logger.info("Batch Processor terminated!")

def signal_handler(self, sig, frame):
Expand Down

0 comments on commit 7f7906c

Please sign in to comment.