Getting constraint errors when updating jobs frequently
When we have shorter test jobs, we're getting constraint errors on the job history tables.
May be do to SQLAcchemy ORM flush() calls(?).
#3 Updated by Marc Mengel over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Since reworking update_job for the umpteenth time, this hasn't reoccurred. Not sure if Steven changed anything on the db side as well, but stopped doing flush() calls to get job_file_id's etc. and just added items to associations and did one commit at the end seems to have cleared this up.