forked from phoenix/litellm-mirror
(fix) run prod load tests for 5 mins
This commit is contained in:
parent
a5b8fb0ee7
commit
82b8fbabcb
2 changed files with 4 additions and 4 deletions
6
.github/workflows/load_test.yml
vendored
6
.github/workflows/load_test.yml
vendored
|
@ -23,9 +23,9 @@ jobs:
|
|||
with:
|
||||
LOCUSTFILE: ".github/workflows/locustfile.py"
|
||||
URL: "https://litellm-database-docker-build-production.up.railway.app/"
|
||||
USERS: "100"
|
||||
RATE: "10"
|
||||
RUNTIME: "120s"
|
||||
USERS: "200"
|
||||
RATE: "20"
|
||||
RUNTIME: "300s"
|
||||
- name: Process Load Test Stats
|
||||
run: |
|
||||
echo "Current working directory: $PWD"
|
||||
|
|
2
.github/workflows/locustfile.py
vendored
2
.github/workflows/locustfile.py
vendored
|
@ -6,7 +6,7 @@ import time
|
|||
class MyUser(HttpUser):
|
||||
wait_time = between(1, 5)
|
||||
|
||||
@task
|
||||
@task(2)
|
||||
def chat_completion(self):
|
||||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue