summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2023-07-29 13:10:46 +0200
committerBlackDex <[email protected]>2023-07-29 13:20:57 +0200
commit4395e8e8888ddb043d870d21e110ad6dc13b09ed (patch)
treed9ba2a057e2b80eeac1498e8257f5d0d151fb36a /src/config.rs
parent3dbfc484a54c41d1759646444b439da06445060b (diff)
downloadvaultwarden-4395e8e8888ddb043d870d21e110ad6dc13b09ed.tar.gz
vaultwarden-4395e8e8888ddb043d870d21e110ad6dc13b09ed.zip
Fix .env.template file
There was one item missing and one item wrongly named. This has been fixed including a spellcheck.
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs
index 7351b941..1173afb9 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -492,7 +492,7 @@ make_config! {
/// Invitation organization name |> Name shown in the invitation emails that don't come from a specific organization
invitation_org_name: String, true, def, "Vaultwarden".to_string();
- /// Events days retain |> Number of days to retain events stored in the database. If unset, events are kept indefently.
+ /// Events days retain |> Number of days to retain events stored in the database. If unset, events are kept indefinitely.
events_days_retain: i64, false, option;
},
@@ -520,7 +520,7 @@ make_config! {
/// has been decided on, consider using permanent redirects for cacheability. The legacy codes
/// are currently better supported by the Bitwarden clients.
icon_redirect_code: u32, true, def, 302;
- /// Positive icon cache expiry |> Number of seconds to consider that an already cached icon is fresh. After this period, the icon will be redownloaded
+ /// Positive icon cache expiry |> Number of seconds to consider that an already cached icon is fresh. After this period, the icon will be refreshed
icon_cache_ttl: u64, true, def, 2_592_000;
/// Negative icon cache expiry |> Number of seconds before trying to download an icon that failed again.
icon_cache_negttl: u64, true, def, 259_200;
@@ -530,7 +530,7 @@ make_config! {
/// Useful to hide other servers in the local network. Check the WIKI for more details
icon_blacklist_regex: String, true, option;
/// Icon blacklist non global IPs |> Any IP which is not defined as a global IP will be blacklisted.
- /// Usefull to secure your internal environment: See https://en.wikipedia.org/wiki/Reserved_IP_addresses for a list of IPs which it will block
+ /// Useful to secure your internal environment: See https://en.wikipedia.org/wiki/Reserved_IP_addresses for a list of IPs which it will block
icon_blacklist_non_global_ips: bool, true, def, true;
/// Disable Two-Factor remember |> Enabling this would force the users to use a second factor to login every time.
@@ -566,7 +566,7 @@ make_config! {
/// Max database connection retries |> Number of times to retry the database connection during startup, with 1 second between each retry, set to 0 to retry indefinitely
db_connection_retries: u32, false, def, 15;
- /// Timeout when aquiring database connection
+ /// Timeout when acquiring database connection
database_timeout: u64, false, def, 30;
/// Database connection pool size