Skip to content

Commit

Permalink
use new task master during batch record
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Nov 3, 2015
1 parent 5a65564 commit 3649e2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.*.swp
dist/*
./kapacitor
./kapacitord
/kapacitor
/kapacitord
kapacitor_linux*
kapacitord_linux*
*~
Expand Down
2 changes: 1 addition & 1 deletion services/replay/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func (r *Service) doRecordStream(rid uuid.UUID, dur time.Duration, dbrps []kapac

// Record a series of batch queries defined by a batch task
func (r *Service) doRecordBatch(rid uuid.UUID, t *kapacitor.Task, start, stop time.Time) error {
et, err := kapacitor.NewExecutingTask(nil, t)
et, err := kapacitor.NewExecutingTask(r.TaskMaster.New(), t)
if err != nil {
return err
}
Expand Down

0 comments on commit 3649e2c

Please sign in to comment.