diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-19 15:45:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 15:45:42 +0000 |
| commit | 8899ce5089091e21eae088da692468565401abba (patch) | |
| tree | 2ce3812470a43371ca19a71f885991873817e1a8 /atuin-server-postgres | |
| parent | fix: Use existing db querying for history list (#1589) (diff) | |
| download | atuin-8899ce5089091e21eae088da692468565401abba.zip | |
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
Diffstat (limited to 'atuin-server-postgres')
0 files changed, 0 insertions, 0 deletions
