aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2022-05-04 21:13:05 +0200
committerBlackDex <[email protected]>2022-05-06 17:01:02 +0200
commit3ca85028ea99ed43c99847b18e222f25ca47374e (patch)
tree4a0c9369911ee87f9827201af180a63d63ce340a /rustfmt.toml
parent3abf173d8954c982383285b29b39d15043e974cb (diff)
downloadvaultwarden-3ca85028ea99ed43c99847b18e222f25ca47374e.tar.gz
vaultwarden-3ca85028ea99ed43c99847b18e222f25ca47374e.zip
Improve sync speed and updated dep. versions
Improved sync speed by resolving the N+1 query issues. Solves #1402 and Solves #1453 With this change there is just one query done to retreive all the important data, and matching is done in-code/memory. With a very large database the sync time went down about 3 times. Also updated misc crates and Github Actions versions.
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index 0b46f6cb..2867b141 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,7 +1,7 @@
-#version = "One"
+# version = "Two"
edition = "2021"
max_width = 120
newline_style = "Unix"
use_small_heuristics = "Off"
-#struct_lit_single_line = false
-#overflow_delimited_expr = true
+# struct_lit_single_line = false
+# overflow_delimited_expr = true