Skip to content

Commit

Permalink
(BIDS-2670) enable batched machine metrics writes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbitfly committed Nov 12, 2023
1 parent 3b8030f commit 6efb1af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/bigtable.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ func InitBigtable(project, instance, chainId, redisAddress string) (*Bigtable, e
machineMetricsQueuedWritesChan: make(chan types.BulkMutation, MAX_BATCH_MUTATIONS),
}

go bt.commitQueuedMachineMetricWrites()

BigtableClient = bt
return bt, nil
}
Expand Down

0 comments on commit 6efb1af

Please sign in to comment.