[PR #8951] [CLOSED] improve timeout handling for blobDownload #44073

Closed
opened 2026-04-24 23:36:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8951
Author: @thorseraq
Created: 2/8/2025
Status: Closed

Base: mainHead: feature/download_timeout_check_0208


📝 Commits (4)

  • 1a41a97 Improve timeout handling for blobDownload
  • f4d852d Merge remote-tracking branch 'origin/main' into feature/download_timeout_check_0208
  • b93c7b4 update
  • 8e03572 lint

📊 Changes

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

View changed files

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

📄 Description

Previously, if a blobDownloadPart has never made successful request, ollama wouldn’t report it as errPartStalled. This PR fixes that by initializing a expiredAt before timeout check start


🔄 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/8951 **Author:** [@thorseraq](https://github.com/thorseraq) **Created:** 2/8/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/download_timeout_check_0208` --- ### 📝 Commits (4) - [`1a41a97`](https://github.com/ollama/ollama/commit/1a41a9799f12ee5c8afc52480de3d03955fc45fd) Improve timeout handling for blobDownload - [`f4d852d`](https://github.com/ollama/ollama/commit/f4d852dca871646322c2976beb771be4dd8c44ac) Merge remote-tracking branch 'origin/main' into feature/download_timeout_check_0208 - [`b93c7b4`](https://github.com/ollama/ollama/commit/b93c7b4d1057ea3d7401922eebe4931af644311e) update - [`8e03572`](https://github.com/ollama/ollama/commit/8e03572f044b54fb553be33ab8a880e077374a49) lint ### 📊 Changes **1 file changed** (+17 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `server/download.go` (+17 -17) </details> ### 📄 Description Previously, if a `blobDownloadPart` has never made successful request, ollama wouldn’t report it as errPartStalled. This PR fixes that by initializing a `expiredAt` before timeout check start --- <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-04-24 23:36:37 -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#44073