(file_path: Path, index: int, total: int)
| 1077 | tasks = [] |
| 1078 | |
| 1079 | async def _process_with_semaphore(file_path: Path, index: int, total: int): |
| 1080 | async with semaphore: |
| 1081 | # Add a small delay to space out concurrent requests |
| 1082 | if index > 1: |
| 1083 | await asyncio.sleep( |
| 1084 | self.request_delay * 0.5 |
| 1085 | ) # Reduced delay for concurrent processing |
| 1086 | return await self._analyze_single_file_with_relationships( |
| 1087 | file_path, index, total |
| 1088 | ) |
| 1089 | |
| 1090 | try: |
| 1091 | # Create tasks for all files |
nothing calls this directly
no test coverage detected