Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default jobtastic tasks to track_started = True #23

Open
winhamwr opened this issue Aug 28, 2013 · 1 comment
Open

Default jobtastic tasks to track_started = True #23

winhamwr opened this issue Aug 28, 2013 · 1 comment

Comments

@winhamwr
Copy link
Contributor

Celery has a built-in track_started option. For Jobtastic tasks, change the default from False to True, so that we can let the user know that their task has begun executing and that we're estimating the remaining time.

This removes the need to call self.update_progress(0, 0).

@winhamwr
Copy link
Contributor Author

cc @kylegibson I think this is better than putting in an automatic self.update_progress call. It also means that we could change the time estimation to treat the first update_progress call as the beginning of time, which would give more accurate progress estimate for tasks that have a fixed-ish amount of up-front work, followed by a more incremental list of things to do. That's actually a lot closer to what we see, at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant