vaultwarden/src
Jeremy Lin 78d07e2fda Add default connection-scoped pragmas for SQLite
`PRAGMA busy_timeout = 5000` tells SQLite to keep trying for up to 5000 ms
when there is lock contention, rather than aborting immediately. This should
hopefully prevent the vast majority of "database is locked" panics observed
since the async transition.

`PRAGMA synchronous = NORMAL` trades better performance for a small potential
loss in durability (the default is `FULL`). The SQLite docs recommend `NORMAL`
as "a good choice for most applications running in WAL mode".
2022-04-26 17:55:19 -07:00
..
api Add /api/{alive,now,version} endpoints 2022-04-23 23:47:49 -07:00
db Add support for database connection init statements 2022-04-26 17:50:20 -07:00
static Sync global_domains.json to bitwarden/server@3521ccb (Just Eat Takeaway.com) 2022-03-29 11:41:43 -07:00
auth.rs Update login API code 2022-03-12 18:45:45 +01:00
config.rs Add default connection-scoped pragmas for SQLite 2022-04-26 17:55:19 -07:00
crypto.rs Increase length limit for email token generation 2022-01-24 01:17:00 -08:00
error.rs Remove u2f implementation 2022-03-27 17:25:04 +02:00
mail.rs Favicon, SMTP and misc updates 2022-02-26 13:56:42 +01:00
main.rs Several updates and fixes 2022-03-20 18:51:24 +01:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Merge branch 'x-xss-protection' of https://github.com/Wonderfall/vaultwarden into Wonderfall-x-xss-protection 2022-03-26 16:18:34 +01:00