fix: increase action rate limit for drag updates in maplibre example #17

Merged
ryan merged 1 commits from worktree-drag-rate-limit into main 2026-02-21 00:50:26 +00:00
Showing only changes of commit 4b61b4d817 - Show all commits

View File

@@ -82,6 +82,7 @@ func main() {
ServerAddress: ":7331", ServerAddress: ":7331",
DevMode: true, DevMode: true,
Plugins: []via.Plugin{maplibre.Plugin}, Plugins: []via.Plugin{maplibre.Plugin},
ActionRateLimit: via.RateLimitConfig{Rate: 60, Burst: 120},
}) })
// Single goroutine moves the vehicle — all clients read the same position. // Single goroutine moves the vehicle — all clients read the same position.