[PR #6347] [MERGED] server: reduce max connections used in download #74382

Closed
opened 2026-05-05 06:25:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6347
Author: @bmizerany
Created: 8/13/2024
Status: Merged
Merged: 8/13/2024
Merged by: @bmizerany

Base: mainHead: bmizerany/lowerdownloadnumparts


📝 Commits (2)

  • 583af98 server: reduce max connections used in download
  • 3edce32 Update server/download.go

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 server/download.go (+1 -1)

📄 Description

The previous value of 64 was WAY too high and unnecessary. It reached diminishing returns and blew past it. This is a more reasonable number for most normal cases. For users on cloud servers with excellent network quality, this will keep screaming for them, without hitting our CDN limits. For users with relatively poor network quality, this will keep them from saturating their network and causing other issues.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6347 **Author:** [@bmizerany](https://github.com/bmizerany) **Created:** 8/13/2024 **Status:** ✅ Merged **Merged:** 8/13/2024 **Merged by:** [@bmizerany](https://github.com/bmizerany) **Base:** `main` ← **Head:** `bmizerany/lowerdownloadnumparts` --- ### 📝 Commits (2) - [`583af98`](https://github.com/ollama/ollama/commit/583af98d976d078cc42d57d0e2809a4e4008be5d) server: reduce max connections used in download - [`3edce32`](https://github.com/ollama/ollama/commit/3edce32c6e3f08b95ea39a023faae034b744e82e) Update server/download.go ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/download.go` (+1 -1) </details> ### 📄 Description The previous value of 64 was WAY too high and unnecessary. It reached diminishing returns and blew past it. This is a more reasonable number for _most_ normal cases. For users on cloud servers with excellent network quality, this will keep screaming for them, without hitting our CDN limits. For users with relatively poor network quality, this will keep them from saturating their network and causing other issues. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 06:25:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#74382