From 0ac3dd64e647db9a1d0f874f518d6a1af3fe9289 Mon Sep 17 00:00:00 2001 From: Peter Nga Date: Mon, 26 Aug 2024 15:41:25 -0700 Subject: [PATCH] Poll time for idle changed to half of idle time threshold --- vocode/streaming/streaming_conversation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vocode/streaming/streaming_conversation.py b/vocode/streaming/streaming_conversation.py index dffb15420..af5749d2d 100644 --- a/vocode/streaming/streaming_conversation.py +++ b/vocode/streaming/streaming_conversation.py @@ -773,7 +773,7 @@ async def check_for_idle(self): ) check_human_present_count += 1 # wait till the idle time would have passed the threshold if no action occurs - await asyncio.sleep(ALLOWED_IDLE_TIME) + await asyncio.sleep(self.idle_time_threshold / 2) async def send_single_message( self,