]> Untitled Git - lemmy.git/commit
Rate limit websocket joins. (#2165)
authorDessalines <dessalines@users.noreply.github.com>
Sun, 27 Mar 2022 00:29:05 +0000 (00:29 +0000)
committerGitHub <noreply@github.com>
Sun, 27 Mar 2022 00:29:05 +0000 (00:29 +0000)
commitf2a0841586eb14863b4425c02e0e7d4be8be5f1b
tree95b90563c0d4b07c944793999d245a600c36cf74
parent483e7ab168cd43233a9db0da9e45046ef231d1ea
Rate limit websocket joins. (#2165)

* Rate limit websocket joins.

* Removing async on mutex lock fn.

* Removing redundant ip

* Return early if check fails.
Cargo.lock
Cargo.toml
crates/apub/Cargo.toml
crates/apub/src/objects/mod.rs
crates/utils/Cargo.toml
crates/utils/src/rate_limit/mod.rs
crates/websocket/Cargo.toml
crates/websocket/src/chat_server.rs
crates/websocket/src/routes.rs
src/main.rs