[PR #8831] [MERGED] Improve download stability by increasing timeout threshold from 5s to 30s #11525

Closed
opened 2025-11-12 16:16:10 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8831
Author: @yashwanth2706
Created: 2/5/2025
Status: Merged
Merged: 2/5/2025
Merged by: @jmorganca

Base: mainHead: main


📝 Commits (9)

  • 63b4755 Update download.go
  • c2770eb Update download.go
  • ee10d10 Merge pull request #1 from yashwanth2706/yashwanth2706-patch-1
  • dd93841 Update download.go
  • 82eaf7f Merge branch 'ollama:main' into patch-1
  • 2b93fe0 Formatted download.go to fix indentation and whitespace issues
  • f58cc39 Merge pull request #2 from yashwanth2706/patch-1
  • b434e08 Fix Go formatting issues
  • fd3dd82 Remove whitespace

📊 Changes

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

View changed files

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

📄 Description

  • Increased the stall detection timeout in downloadChunk from 5 seconds to 30 seconds.
  • This prevents premature “part stalled” retries during slow or unstable network connections.
  • Improves overall download stability and reliability, especially on slower networks.

🔄 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/8831 **Author:** [@yashwanth2706](https://github.com/yashwanth2706) **Created:** 2/5/2025 **Status:** ✅ Merged **Merged:** 2/5/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (9) - [`63b4755`](https://github.com/ollama/ollama/commit/63b4755fb78e09dc3526dd8ddb49489e7a34ac6d) Update download.go - [`c2770eb`](https://github.com/ollama/ollama/commit/c2770eb95e077a7933149b11faa016681408a68c) Update download.go - [`ee10d10`](https://github.com/ollama/ollama/commit/ee10d106dbdc9603577f75bf7b18327e7fd55518) Merge pull request #1 from yashwanth2706/yashwanth2706-patch-1 - [`dd93841`](https://github.com/ollama/ollama/commit/dd938416fbffd36b0291916845952c3cba6382ef) Update download.go - [`82eaf7f`](https://github.com/ollama/ollama/commit/82eaf7f5ea3a2b848a4a81973cf340107ab1d393) Merge branch 'ollama:main' into patch-1 - [`2b93fe0`](https://github.com/ollama/ollama/commit/2b93fe0b39dc15f59c2cc81ba58f3c0443b0e788) Formatted download.go to fix indentation and whitespace issues - [`f58cc39`](https://github.com/ollama/ollama/commit/f58cc39d23c80480156809ca88dfabf9d79ab3e8) Merge pull request #2 from yashwanth2706/patch-1 - [`b434e08`](https://github.com/ollama/ollama/commit/b434e085af97df09704afe3b25678896647b8c7f) Fix Go formatting issues - [`fd3dd82`](https://github.com/ollama/ollama/commit/fd3dd8264d2a4db0417848974061acf655fe25c3) Remove whitespace ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/download.go` (+1 -1) </details> ### 📄 Description - Increased the stall detection timeout in downloadChunk from 5 seconds to 30 seconds. - This prevents premature “part stalled” retries during slow or unstable network connections. - Improves overall download stability and reliability, especially on slower networks. --- <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 2025-11-12 16:16:10 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#11525