Comments (1)
I tried this first on MIND. Your simple fix of adding the one line super().cursor().execute("PRAGMA journal_mode = wal;")
is indeed a good start, but for the journal mode to be set to WAL requires more "handling" to properly use it.
In this commit to MIND, I've implemented WAL journal mode. Most important part of the commit is this expansion on a waitress class, which makes sure that the database connections get closed properly, avoiding the temporary database files generated by the WAL mode in the folder while MIND/Kapowarr is not running.
So it required a bit more code than you suggested, but setting the journal mode to WAL indeed was the way to go, and I'll be making the same changes to Kapowarr too.
from kapowarr.
Related Issues (20)
- Ability to convert image files HOT 5
- UID/GID support for container HOT 5
- Crash when importing existing library HOT 1
- Problem searching for comic with many special characters and a slash in its series title HOT 6
- Downloads hang on importing HOT 12
- Ability to write tags to issues HOT 2
- Better clarity around convert settings HOT 7
- Make 'Save' button in settings keep track of changes HOT 1
- Converting comics should only convert known files HOT 1
- Ability to verify downloaded/known issues and volumes HOT 3
- Add progress reports for tasks HOT 2
- Unable to add root folder due to hard-coded (plex-related) path in root_folders.py HOT 2
- Override database location HOT 3
- Queue is frozen HOT 3
- Posters bug out when deleting volumes
- Download from WeTransfer
- Crash on comicvine parsing during library import: ValueError invalid literal HOT 1
- Title on get comics replaced / with – and it doesn't get found HOT 1
- Cannot Find Popular Comic HOT 1
- Feature Request: Goodreads bookshelf sync HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kapowarr.