diff options
| author | Martin Fischer <martin@push-f.com> | 2026-02-28 18:45:22 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-03-02 08:30:58 +0100 |
| commit | 6268d1328e3d73d208656f4f6b984681f91da9f9 (patch) | |
| tree | 98753887f0dc47717f352e2ef3ed5c0633899e05 /nixos/hosts/ev/patches | |
| parent | 5bf0183630b04a58c2234350f35bfbf8772856b6 (diff) | |
feat(ev): add anki-sync-server
Diffstat (limited to 'nixos/hosts/ev/patches')
| -rw-r--r-- | nixos/hosts/ev/patches/anki-sync-server-delete-exclusive-lock.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/hosts/ev/patches/anki-sync-server-delete-exclusive-lock.patch b/nixos/hosts/ev/patches/anki-sync-server-delete-exclusive-lock.patch new file mode 100644 index 0000000..fdb8990 --- /dev/null +++ b/nixos/hosts/ev/patches/anki-sync-server-delete-exclusive-lock.patch @@ -0,0 +1,12 @@ +diff --git a/rslib/src/storage/sqlite.rs b/rslib/src/storage/sqlite.rs +index 7f68496b4..e8f711941 100644 +--- a/rslib/src/storage/sqlite.rs ++++ b/rslib/src/storage/sqlite.rs +@@ -62,7 +62,6 @@ fn open_or_create_collection_db(path: &Path) -> Result<Connection> { + + db.busy_timeout(std::time::Duration::from_secs(0))?; + +- db.pragma_update(None, "locking_mode", "exclusive")?; + db.pragma_update(None, "page_size", 4096)?; + db.pragma_update(None, "cache_size", -40 * 1024)?; + db.pragma_update(None, "legacy_file_format", false)?; |
