feat: конф нгинкс, тесты, ключ идмпт etc

This commit is contained in:
Enterxx2
2026-10-20 10:41:56 +03:00
parent aa971fbd27
commit b53e5d1077
63 changed files with 5013 additions and 153 deletions
+2 -1
View File
@@ -5,7 +5,7 @@ import json
import time
import httpx
from helpers import auth, read_all_messages
from helpers import auth, message_headers, read_all_messages
CLIENTS = 10
MESSAGES_PER_CLIENT = 10
@@ -29,6 +29,7 @@ async def _send_concurrently(
client.post(
f"/api/v1/chats/{chat_id}/messages",
json={"text": f"{user['username']}#{n}"},
headers=message_headers(user),
)
for n in range(MESSAGES_PER_CLIENT)
)