Skip to content

fix(upload): intermittent knex timeout error

Vignesh Devendran requested to merge fix-upload-new-submission-timeout into main

image

Screenshot_from_2022-07-06_11-58-23

@BenWh previously there was one single query made within the createManuscript which creates the manuscript. Now there are two queries one for creating the manuscript and the other for updating the manuscript source with converted image URLs. The await seem to be missed somehow, which causes this inconsistency if the second query tries to be triggered when the first one is still getting executed I assume which causes the knex timeout error. I believe this MR should fix the issue and have to be tested in kotahidev! 🤞

Merge request reports