Rate Limiting
This commit is contained in:
3
Makefile
3
Makefile
@@ -181,6 +181,9 @@ wrk-search: ## Нагрузочный тест поиска (wrk2)
|
||||
-H "Authorization: Bearer $$TOKEN" \
|
||||
http://localhost:8080/v1/search?type=event\&q=test
|
||||
|
||||
curl-health:
|
||||
for i in {1..120}; do curl -k -s -o /dev/null -w "%{http_code}\n" -H "Host: api.eventhub.local" https://localhost/health; done
|
||||
|
||||
wrk-health: ## Нагрузочный тест health (wrk2)
|
||||
wrk -t4 -c100 -d30s -t100 \
|
||||
-H "Host: api.eventhub.local" \
|
||||
|
||||
Reference in New Issue
Block a user