Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Reduce scrypt work factor to speed up websocket authentication
Max Brunsfeld623133ffa0b8
diff --git a/crates/collab/src/auth.rs b/crates/collab/src/auth.rsindex 3156212cdfe..9819e600c3c 100644--- a/crates/collab/src/auth.rs+++ b/crates/collab/src/auth.rs@@ -97,7 +97,7 @@ fn hash_access_token(token: &str) -> Result<String> {let params = if cfg!(debug_assertions) {scrypt::Params::new(1, 1, 1).unwrap()} else {- scrypt::Params::recommended()+ scrypt::Params::new(14, 8, 1).unwrap()};Ok(Scrypt