Commit 2783361
committed
fix(p2p): increase rate limit from 100 to 10000 msg/window
The previous limit of 100 messages per second was too low for active
validators running consensus, storage sync, and heartbeats. Bootstrap
validator was getting rate limited, blocking all P2P traffic.
Changes:
- DEFAULT_RATE_LIMIT: 100 -> 10000 (100x increase)
- RATE_LIMIT_WINDOW_MS: 1000 -> 10000 (1s -> 10s window)
This allows ~1000 messages/sec sustained throughput.1 parent 80a4ddc commit 2783361
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| |||
0 commit comments