KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to populate a SQLite database every few minutes in Django, but I want to serve stale data until the data is available for the database to be updated. (i.e. I don't want to block for the data to be gathered; the only time I can block is if there is a lock on the database, during which I have no choice.) I also don't want to install a separate program or library. How would I go about setting up another thread that could call save() on a bunch of models, without running into threading issues?
Tags (comma-separated)
Save Edits
Cancel