add time ago on recent items

+ move to waitress wsgi server
+ refactor dates utils
+ create locustfile for stress test
This commit is contained in:
mungai-njoroge
2024-02-11 21:10:52 +03:00
parent cb47a4bc6e
commit b7e86ed79b
8 changed files with 707 additions and 74 deletions
+8
View File
@@ -0,0 +1,8 @@
from locust import HttpUser, task
class HelloWorldUser(HttpUser):
host = "http://localhost:1980"
@task
def hello_world(self):
self.client.get("/getall/artists?start=0&limit=50&sortby=created_date&reverse=1")