diff options
author | BlackDex <[email protected]> | 2022-05-04 21:13:05 +0200 |
---|---|---|
committer | BlackDex <[email protected]> | 2022-05-06 17:01:02 +0200 |
commit | 3ca85028ea99ed43c99847b18e222f25ca47374e (patch) | |
tree | 4a0c9369911ee87f9827201af180a63d63ce340a /rustfmt.toml | |
parent | 3abf173d8954c982383285b29b39d15043e974cb (diff) | |
download | vaultwarden-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.toml | 6 |
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 |