[GH-ISSUE #8931] Expose maxRetries to be a configurable option #67851

Closed
opened 2026-05-04 11:52:23 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @gqgs on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8931

In server package currently maxRetries is set defined with a static constant value.

a400df48c0/server/download.go (L29)

It would be useful having this as an option that is configurable at execution time to allow for more flexibility and likely increase success rate for cases where the user is using an unreliable connection.

Originally created by @gqgs on GitHub (Feb 7, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8931 In server package currently `maxRetries` is set defined with a static constant value. https://github.com/ollama/ollama/blob/a400df48c06f6526ed74bfa3fd1af783ed0b4899/server/download.go#L29 It would be useful having this as an option that is configurable at execution time to allow for more flexibility and likely increase success rate for cases where the user is using an unreliable connection.
GiteaMirror added the feature request label 2026-05-04 11:52:23 -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#67851