mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-18 13:34:08 +01:00
fix: update base URL and reduce concurrent users for load test
This commit is contained in:
parent
c0a8a8a6be
commit
da003a997d
@ -81,8 +81,8 @@ func hitEndpoint(wg *sync.WaitGroup, url string, metrics *Metrics) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
baseURL := "http://localhost:8000/inventory/status"
|
||||
concurrentUsers := 1000
|
||||
baseURL := "http://localhost:8000/plant"
|
||||
concurrentUsers := 200
|
||||
|
||||
var wg sync.WaitGroup
|
||||
metrics := &Metrics{}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user