You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c6d3384
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): retry settings and keybindings reads after a failure
The settings and keybindings caches were built with Cache.make, whose
default time-to-live is infinite for every exit, failures included. One
failed read (a transient file or database error) was replayed to every
later caller until a file-watcher event or a write invalidated the entry,
and a failure during startup stuck until the file was touched.
Both caches now use Cache.makeWith with a time-to-live of zero for failed
lookups, so a failed read is dropped and the next read goes back to disk.
Successful reads keep the existing behavior: cached until a write or a
watcher event replaces them.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments