Skip to content

Commit

Permalink
Merge 8ae3dbc into d20277a
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-light committed Apr 21, 2017
2 parents d20277a + 8ae3dbc commit 6b9fa9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/influxdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (conn *Connection) addWorker() {
// create new batch
timer.Reset(batchTimeout)
if bp, err = client.NewBatchPoints(bpConfig); err != nil {
log.Fatal(err)
log.Print(err)
}
}
bp.AddPoint(point)
Expand All @@ -134,7 +134,7 @@ func (conn *Connection) addWorker() {
log.Println("saving", len(bp.Points()), "points")

if err = conn.client.Write(bp); err != nil {
log.Fatal(err)
log.Print(err)
}
writeNow = false
bp = nil
Expand Down

0 comments on commit 6b9fa9a

Please sign in to comment.