"vscode:/vscode.git/clone" did not exist on "371d4e5df30dc55702ce812006e0624dbba9bbb0"
Unverified Commit e054ebe0 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #2212 from ollama/mxyng/fix-build

fix build
parents 6e0ea5ec 9d3dcfd0
......@@ -247,7 +247,7 @@ func (b *blobDownload) downloadChunk(ctx context.Context, requestURL *url.URL, w
}
if !part.lastUpdated.IsZero() && time.Since(part.lastUpdated) > 5*time.Second {
log.Printf("%s part %d stalled; retrying", b.Digest[7:19], part.N)
slog.Info(fmt.Sprintf("%s part %d stalled; retrying", b.Digest[7:19], part.N))
// reset last updated
part.lastUpdated = time.Time{}
return errPartStalled
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment