|
@@ -368,7 +368,7 @@ func (b *blobDownload) downloadChunk(ctx context.Context, requestURL *url.URL, w
|
|
lastUpdated := part.lastUpdated
|
|
lastUpdated := part.lastUpdated
|
|
part.lastUpdatedMu.Unlock()
|
|
part.lastUpdatedMu.Unlock()
|
|
|
|
|
|
- if !lastUpdated.IsZero() && time.Since(lastUpdated) > 5*time.Second {
|
|
|
|
|
|
+ if !lastUpdated.IsZero() && time.Since(lastUpdated) > 30*time.Second {
|
|
const msg = "%s part %d stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection."
|
|
const msg = "%s part %d stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection."
|
|
slog.Info(fmt.Sprintf(msg, b.Digest[7:19], part.N))
|
|
slog.Info(fmt.Sprintf(msg, b.Digest[7:19], part.N))
|
|
// reset last updated
|
|
// reset last updated
|