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

Allow setting a task's time_started to now via API #487

Merged
merged 1 commit into from
Jun 3, 2015

Conversation

guidow
Copy link
Contributor

@guidow guidow commented Jun 2, 2015

This is useful for batch assignments. In batch assignments, the jobtype code will usually scan the process's output and set tasks to done as soon as they are done, but until now, it cannot reset the time_started value for a task, meaning all tasks in an assignment have the same start time. This in turn means that later tasks in an assignment will show a runtime that is the sum of their actual runtime plus the runtimes of all the tasks from the same assignment that were run before.

@opalmer
Copy link
Member

opalmer commented Jun 3, 2015

Makes sense and looks good to me.

@opalmer opalmer added this to the 0.8.6 milestone Jun 3, 2015
opalmer added a commit that referenced this pull request Jun 3, 2015
Allow setting a task's time_started to now via API
@opalmer opalmer merged commit 4be92cc into pyfarm:master Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants