Skip to content
Snippets Groups Projects
Commit 03784d76 authored by Christian Pointner's avatar Christian Pointner
Browse files

added a todo..

parent c4439957
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,8 @@ func (job *Job) Start(timeout time.Duration) error {
return ErrTooManyJobs
}
// TODO: it is possible that this comes after the job is actually started and thus
// overwrites the state change above which sets it to running...
job.im.store.UpdateFileImportState(job.Group, job.ID, store.ImportPending, false)
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment