- Updated `brainyData.ts`: - Made `this.index.clear()` asynchronous to prevent potential timing issues during storage test. - Added conditional `this.storage.flushStatisticsToStorage()` call to ensure statistics are properly flushed, avoiding data inconsistencies. **Purpose**: Enhance storage consistency by ensuring proper index clearing and statistics flushing during tests. |
||
|---|---|---|
| .. | ||
| augmentations | ||
| errors | ||
| examples | ||
| hnsw | ||
| mcp | ||
| storage | ||
| testing | ||
| types | ||
| utils | ||
| augmentationFactory.ts | ||
| augmentationPipeline.ts | ||
| augmentationRegistry.ts | ||
| augmentationRegistryLoader.ts | ||
| brainyData.ts | ||
| coreTypes.ts | ||
| index.ts | ||
| patched-platform-node.ts | ||
| pipeline.ts | ||
| sequentialPipeline.ts | ||
| setup.ts | ||
| unified.ts | ||
| worker.js | ||
| worker.ts | ||