Rate limit ws joins (#2171)
authorDessalines <dessalines@users.noreply.github.com>
Mon, 28 Mar 2022 20:31:35 +0000 (20:31 +0000)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 20:31:35 +0000 (20:31 +0000)
commitd49565e030741444d19a2f5735ca38bd7ca93d31
tree49a1d4d69fef3a31bc0af48e2ed0f82e937c22e8
parentf21f2fd7b0474eeb906dacc755fb1026ed2a9ef8
Rate limit ws joins (#2171)

* Removing async on mutex lock fn.

* Removing redundant ip

* Don't check rate limit twice.
crates/websocket/src/chat_server.rs