Fixed a bug in which an imported file could be flagged as queued

By Edouard on December 8, 2022

We’ve fixed a bug on our file import system in which a file could be flagged as queued after renaming it.

This issue shouldn’t happen again. The job scheduler now sets the file as queued and this query is wrapped in a transaction to make sure it’s flagged as queue right when the job is enqueued.