Create a reindexing daemon. #142
Labels
needs more design
Non-trivial design issues invoved. Ask maintainers before working on
zone:backend
Backend oriented tasks
Milestone
Feature Category
Describe the problem
Right now the user have to create their own cron job, to keep database and samples folder in sync
Describe the solution you'd like
Create a new service, that will automatically watch
/mnt/samples
directory and reindex samples every night (for example).This script should take over the functionality of
utils/reindex_local.py
script and reindex all samples first, and later it should compact datasets as long as it's possible. Useful code snippet:Add a way to manually trigger it easily using docker-compose (probably something like
docker-compose run reindex --now
)The text was updated successfully, but these errors were encountered: