Skip to content

chore(git-integration): change depth & storage threshold values#3525

Merged
mbani01 merged 3 commits into
mainfrom
chore/upgrade_storage_threshold
Oct 16, 2025
Merged

chore(git-integration): change depth & storage threshold values#3525
mbani01 merged 3 commits into
mainfrom
chore/upgrade_storage_threshold

Conversation

@mbani01
Copy link
Copy Markdown
Contributor

@mbani01 mbani01 commented Oct 16, 2025

This pull request updates the clone depth calculation logic in the CloneService to better optimize cloning performance, especially for larger repositories. The main changes involve adjusting the storage optimization threshold and reducing the amount of history fetched for small and medium-sized repositories.

Clone depth and storage optimization adjustments:

  • Increased the DEFAULT_STORAGE_OPTIMIZATION_THRESHOLD_MB from 2000 to 10000 in clone_service.py to allow for more storage before triggering optimization.
  • Reduced the calculated clone depth for small repositories from 200 to 100 and for medium repositories from 100 to 50, making clone operations more efficient for these sizes.

@mbani01 mbani01 self-assigned this Oct 16, 2025
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

@mbani01 mbani01 merged commit 7ed658e into main Oct 16, 2025
13 checks passed
@mbani01 mbani01 deleted the chore/upgrade_storage_threshold branch October 16, 2025 17:48
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.

1 participant