#5031 (Convert linod.Tasks.setup() into a data checker?)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
Concepts sous-jacents
Commentaires
- 3 ans, 3 mois ago by Luc Saffre about #5031 (Convert linod.Tasks.setup() into a data checker?) : I agree that checkdata is not exactly the right place for Tasks.setup() because it is needed only after a pull.sh. But consider that "checkdata -f" *is* called in practice only from the pull.,sh. So this is the most close fit.
- 3 ans, 3 mois ago by Luc Saffre about #5031 (Convert linod.Tasks.setup() into a data checker?) : It doesn't touch the database, but it accesses the database. That's already a lot of IO.
- 3 ans, 3 mois ago by Sharif Mehedi about #5031 (Convert linod.Tasks.setup() into a data checker?) (3 replies) : yes, each time a worker process runs, it also, runs the Tasks.setup(), it doesn't touch the database though if the schedules are already up-to-date.
- 3 ans, 3 mois ago by Luc Saffre about #5031 (Convert linod.Tasks.setup() into a data checker?) : s far as i understood existing code, right now it is running each time i run a management command.
- 3 ans, 3 mois ago by Luc Saffre about #5031 (Convert linod.Tasks.setup() into a data checker?) : Created new Ticket #5031 (Convert linod.Tasks.setup() into a data checker?).