Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 73ccef9

Browse filesBrowse files
authored
limit_concurrency
1 parent 3af7b21 commit 73ccef9
Copy full SHA for 73ccef9

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎llama_cpp/server/app.py

Copy file name to clipboardExpand all lines: llama_cpp/server/app.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ class Settings(BaseSettings):
157157
)
158158
# Server Params
159159
host: str = Field(default="localhost", description="Listen address")
160+
limit_concurrency: int = Field(
161+
default=2,
162+
description="Number of concurrent processes + 1"
163+
)
160164
port: int = Field(default=8000, description="Listen port")
161165
interrupt_requests: bool = Field(
162166
default=True,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.