ollama/server/internal
Blake Mizerany ce929984a3
server/internal/client/ollama: fix file descriptor management in Pull (#9931)
Close chunked writers as soon as downloads complete, rather than
deferring closure until Pull exits. This prevents exhausting file
descriptors when pulling many layers.

Instead of unbounded defers, use a WaitGroup and background goroutine
to close each chunked writer as soon as its downloads finish.

Also rename 'total' to 'received' for clarity.
2025-03-21 16:16:38 -07:00
..
cache/blob server/internal/chunks: remove chunks package (#9755) 2025-03-14 08:57:59 -07:00
client/ollama server/internal/client/ollama: fix file descriptor management in Pull (#9931) 2025-03-21 16:16:38 -07:00
cmd/opp server/internal/chunks: remove chunks package (#9755) 2025-03-14 08:57:59 -07:00
internal server/.../backoff,syncs: don't break builds without synctest (#9484) 2025-03-03 16:45:40 -08:00
manifest server/internal: copy bmizerany/ollama-go to internal package (#9294) 2025-02-24 22:39:44 -08:00
registry server/internal/client/ollama: persist through chunk download errors (#9923) 2025-03-21 13:03:43 -07:00
testutil server/internal: replace model delete API with new registry handler. (#9347) 2025-02-27 12:04:53 -08:00