mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-14 20:55:15 +02:00
- Added a static method `estimate_pages_from_metadata` to `PageLimitService` for estimating page counts based on file metadata. - Integrated page limit checks in Google Drive, Dropbox, and OneDrive indexers to prevent exceeding user quotas during file indexing. - Updated relevant indexing methods to utilize the new page estimation logic and enforce limits accordingly. - Enhanced tests for page limit functionality, ensuring accurate estimation and enforcement across different file types. |
||
|---|---|---|
| .. | ||
| celery_tasks | ||
| chat | ||
| connector_indexers | ||
| document_processors | ||
| __init__.py | ||
| composio_indexer.py | ||
| surfsense_docs_indexer.py | ||