Open mdonadoni opened 10 months ago
After the recent performance profiling and improvements, I think this was done for performance reasons to avoid accessing the database to know the current status of jobs. Note that writes are always done also on the database, so there is no performance gain there
Job controller is keeping an "in-memory" copy of the Job table of the database.
First of all, we should investigate why this is needed, maybe for performance reason?
If it's not needed, should we drop the in-memory database and only use PostgreSQL?
If the in-memory database needs to be kept around, then:
Job
object a proper class and not a dict