From 325bd95f256b6f8c35f5ae941c39f658f2ec0e13 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 19 Jan 2021 23:30:53 +1100 Subject: [PATCH] stopping for the night, so keeping track of where I am at --- TODO | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index 31d42a9..67108e9 100644 --- a/TODO +++ b/TODO @@ -1,20 +1,21 @@ DDP: files.py -> entry.py? - but basically I need to put the new classes into files.py, and when I - render, I use: Entry.query.all() - - + when I find a file, I really need to validate which dir it is in when + importing (rename subtest to SUBTEST) and the contents will end up in the + previous dir) + Also, should really set # files per sub dir -- think this will all need a + better import loop tracking of dir you are in + Should use a session per Thread, so maybe + sess=[] + sess[job.id]=Session() + etc ### DB ### 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