mirror of
https://github.com/suitenumerique/drive.git
synced 2026-08-26 08:02:22 +02:00
In order to be more fault tolerant, to not lose data if the redis is reset, etc. We decided to put the item to mirror in a new table and then the task will manage the status in the database. This is the first step to then add tasks in the admin to retry or check why the task has failed and also implement a retry strategy. The Dockerfile must also be modified, we need the libmagic library to build the image at the collect stage because the magic module is imported in the storage module and all tasks are imported when the application starts.