atuin/atuin-client
Ellie Huxtable 8899ce5089
fix: add acquire timeout to sqlite database connection (#1590)
* fix: add acquire timeout to sqlite database connection

This should fix #1503

I wasn't able to trigger enough IO pressure for the SQL connection to be
a problem.

This adds `local_timeout` to the client config. This is a float, and
represents the number of seconds (units in line with the other timeouts,
though those are ints). Users may well want to reduce this if they
regularly have issues, but by default I think 2s is fine and avoids a
non-responsive system in bad situations.

* tests
2024-01-19 15:45:42 +00:00
..
migrations Add history deletion (#791) 2023-03-20 09:26:54 +00:00
record-migrations feat: rework record sync for improved reliability (#1478) 2024-01-05 17:57:49 +00:00
src fix: add acquire timeout to sqlite database connection (#1590) 2024-01-19 15:45:42 +00:00
Cargo.toml feat: rework record sync for improved reliability (#1478) 2024-01-05 17:57:49 +00:00
config.toml fix: add acquire timeout to sqlite database connection (#1590) 2024-01-19 15:45:42 +00:00