alternate database structure with entry, (new_)file, dir works in terms of DB and SQL alchemy, tomorrow we rewrite the jobs to really use the new structure

This commit is contained in:
2021-01-18 21:40:46 +11:00
parent 4053919def
commit 5285bf66ab
3 changed files with 249 additions and 16 deletions

5
TODO
View File

@@ -3,6 +3,11 @@
### BACKEND
* need a "batch" processing system that uses ionice to minimise load on mara and is threaded and used DB to interact with gunicorn'd pa
Might need a session per Thread, so maybe
sess=[]
sess[job.id]=Session()
etc
DONE: pa_jobs (threaded python add separate from photoassistant)
DONE: takes over files.py
has ai.py