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() {
|
func main() {
|
||||||
baseURL := "http://localhost:8000/inventory/status"
|
baseURL := "http://localhost:8000/plant"
|
||||||
concurrentUsers := 1000
|
concurrentUsers := 200
|
||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
metrics := &Metrics{}
|
metrics := &Metrics{}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user