File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
weaviate/collections/batch Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -229,10 +229,10 @@ async def __loop(self) -> None:
229229 "Batch stream was not re-established within 5 minutes. Terminating batch."
230230 )
231231 try:
232- await asyncio.wait_for(self.__reqs.put(req), timeout=10 )
232+ await asyncio.wait_for(self.__reqs.put(req), timeout=60 )
233233 except asyncio.TimeoutError as e:
234234 logger.warning(
235- "Batch queue is blocked for more than 10 seconds. Exiting the loop"
235+ "Batch queue is blocked for more than 60 seconds. Exiting the loop"
236236 )
237237 self.__bg_exception = e
238238 return
Original file line number Diff line number Diff line change @@ -192,10 +192,10 @@ def __loop(self) -> None:
192192 "Batch stream was not re-established within 5 minutes. Terminating batch."
193193 )
194194 try:
195- self.__reqs.put(req, timeout=10 )
195+ self.__reqs.put(req, timeout=60 )
196196 except Full as e:
197197 logger.warning(
198- "Batch queue is blocked for more than 10 seconds. Exiting the loop"
198+ "Batch queue is blocked for more than 60 seconds. Exiting the loop"
199199 )
200200 self.__bg_exception = e
201201 return
You can’t perform that action at this time.
0 commit comments