Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Dec 13, 2023
1 parent cc41a7b commit 384cab3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flow/connectors/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ func (c *EventHubConnector) processBatch(
batchPerTopic := NewHubBatches(c.hubManager)
toJSONOpts := model.NewToJSONOptions(c.config.UnnestColumns)

eventHubFlushTimeout :=
time.Duration(peerdbenv.GetPeerDBEventhubFlushTimeoutSeconds()) *
time.Second
eventHubFlushTimeout := peerdbenv.GetPeerDBEventhubFlushTimeoutSeconds()

ticker := time.NewTicker(eventHubFlushTimeout)
defer ticker.Stop()
Expand Down

0 comments on commit 384cab3

Please sign in to comment.