Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-05 18:29:03 -03:00 • committed by GitHub
commit f3b3d2cf68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
239 changed files with 28527 additions and 15390 deletions

View file

@ -1,11 +1,10 @@
from locust import FastHttpUser, task, between
import random
import time
from pathlib import Path
import httpx
import orjson
from locust import FastHttpUser, between, task
from rich import print
import httpx
from pathlib import Path
class NameTest(FastHttpUser):
@ -14,7 +13,7 @@ class NameTest(FastHttpUser):
with open("names.txt", "r") as file:
names = [line.strip() for line in file.readlines()]
headers: dict = {}
headers = {}
def poll_task(self, task_id, sleep_time=1):
while True: