Skip to content

Commit

Permalink
update heartbeat for eventhub (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Sep 21, 2023
1 parent c9a8830 commit 39857d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (c *EventHubConnector) InitializeTableSchema(req map[string]*protos.TableSc
}

func (c *EventHubConnector) SyncRecords(req *model.SyncRecordsRequest) (*model.SyncResponse, error) {
shutdown := utils.HeartbeatRoutine(c.ctx, 1*time.Minute, func() string {
shutdown := utils.HeartbeatRoutine(c.ctx, 10*time.Second, func() string {
return fmt.Sprintf("syncing records to eventhub with"+
" push parallelism %d and push batch size %d",
req.PushParallelism, req.PushBatchSize)
Expand Down

0 comments on commit 39857d7

Please sign in to comment.