ProcessFilesInDir - now is generic and takes funcs to call on files

This commit is contained in:
2021-01-21 22:22:42 +11:00
parent 60953553a2
commit 2f3d7c1ae2
2 changed files with 118 additions and 117 deletions

3
TODO
View File

@@ -3,9 +3,6 @@
### BACKEND
*** Need to use thread-safe sessions per Thread, half-assed version did not work
* create A WalkTree( dir, func ) that calls func(file) per file ... for use
* in AI, but also maybe gen hash, etc.
* 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
* pa_job_manager, needs ai code