[PR #9518] [CLOSED] add bandwidth limit for ollama #44236

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9518
Author: @rains31
Created: 3/5/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • ffbb61e add bandwidth limit for ollama

📊 Changes

8 files changed (+94 additions, -24 deletions)

View changed files

📝 api/types.go (+12 -10)
📝 cmd/cmd.go (+17 -3)
📝 go.mod (+3 -0)
📝 go.sum (+6 -0)
📝 server/download.go (+12 -1)
📝 server/images.go (+18 -4)
📝 server/routes.go (+20 -6)
📝 server/upload.go (+6 -0)

📄 Description

mainly copied from this pr [https://github.com/ollama/ollama/pull/3183]. but fixed its inaccurate calculation.


🔄 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/9518 **Author:** [@rains31](https://github.com/rains31) **Created:** 3/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`ffbb61e`](https://github.com/ollama/ollama/commit/ffbb61e95bd9646edcc3d50d85f8bc5a0b692320) add bandwidth limit for ollama ### 📊 Changes **8 files changed** (+94 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+12 -10) 📝 `cmd/cmd.go` (+17 -3) 📝 `go.mod` (+3 -0) 📝 `go.sum` (+6 -0) 📝 `server/download.go` (+12 -1) 📝 `server/images.go` (+18 -4) 📝 `server/routes.go` (+20 -6) 📝 `server/upload.go` (+6 -0) </details> ### 📄 Description mainly copied from this pr [https://github.com/ollama/ollama/pull/3183]. but fixed its inaccurate calculation. --- <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:45:24 -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#44236