feat: реализация второй лабы по тз
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Enterxx2
2026-10-11 18:14:20 +03:00
parent a6c74c9bb0
commit ea2b432a22
100 changed files with 3416 additions and 428 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import json
import time
import httpx
from helpers import read_all_messages
from helpers import auth, read_all_messages
CLIENTS = 10
MESSAGES_PER_CLIENT = 10
@@ -21,7 +21,7 @@ async def _send_concurrently(
async def client_worker(user: dict) -> list[int]:
async with httpx.AsyncClient(
base_url=base_url, headers={"X-User-Id": user["id"]}, timeout=30
base_url=base_url, headers=auth(user), timeout=30
) as client:
await start.wait()
responses = await asyncio.gather(