There was an error while loading. Please reload this page.
1 parent 1d6ec92 commit 381bd40Copy full SHA for 381bd40
1 file changed
docs/development.md
@@ -139,9 +139,15 @@ make simulate
139
Custom example:
140
141
```bash
142
-go run ./cmd/simulator -url http://localhost:8080 -vehicles 20 -interval 2s -duration 2m
+go run ./cmd/simulator -url http://localhost:8080 -vehicles 1 -interval 6s -duration 2m
143
```
144
145
+The server allows one location report per driver per 5 seconds, and every
146
+simulated vehicle authenticates with the same login, so they share a single
147
+budget. Raising `-vehicles` without raising `-interval` to match just turns the
148
+extra reports into `429`s. The simulator warns at startup when the two do not
149
+fit.
150
+
151
## API Sanity Checks
152
153
### Submit one location
0 commit comments