Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dacoburn
Copy link
Collaborator

Fix for using the include license param with the old diff endpoint

@dacoburn dacoburn requested a review from a team as a code owner July 31, 2025 23:47
@dacoburn dacoburn requested review from bcomnes and trevnorris and removed request for a team July 31, 2025 23:47
Copy link

github-actions bot commented Jul 31, 2025

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socket-sdk-python==2.1.8.dev404

dacoburn added 2 commits July 31, 2025 17:23
…rors

- Add FileDescriptorManager singleton to track and limit open file descriptors
- Implement LazyFileLoader class that opens files only when needed for reading
- Add configurable max_open_files parameter to fullscans.post() and diffscans.create_from_repo()
- Auto-close files when fully read and use LRU eviction when limit reached
- Add comprehensive documentation with v3.0 migration notes
- Maintain backward compatibility with use_lazy_loading=False default
- Support cross-platform operation (Unix/Linux/macOS/Windows)
- Include retry logic with garbage collection for edge cases

This prevents file descriptor exhaustion when uploading large numbers of manifest files (e.g., 1956 files) on systems with low ulimit values.
@dacoburn dacoburn merged commit 50fe8f1 into main Aug 22, 2025
6 checks passed
@dacoburn dacoburn deleted the doug/fix-diff-scan-license-options branch August 22, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants