Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dan11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
dan11
16y ago
I'm not 100% sure how WebSockets work, but I assume it's going through your server and then sent to everyone else? Could you not do a rate limit of 5 per 30 seconds, or require at least one comment in between yours? Not sure what the best a
2.
▲
by
dan11
16y ago
Yeah, that's me. var a = 1; function d() { $('#say').val(a); say(); a++; } setInterval("d();", 100); Not exactly hard.