open-reblock / topology

3 stars 2 forks source link

Expose progress ("interior parcel" count) to Celery #9

Open mojodna opened 9 years ago

mojodna commented 9 years ago

...ultimately exposing it to the web interface.

joehand commented 9 years ago

For those who are familiar with Celery, is a custom state the best way to update progress (as in the example in that section)?

mojodna commented 9 years ago

Possibly? Depends how the front-end intends to consume progress. It might make more sense to persist progress in the Django models and update it either with direct db calls (which might be manageable by watching the custom state) or via an API call.