Skip to content

Commit

Permalink
Add flushing final bulk while graceful shutdown (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmtszr authored Apr 4, 2023
1 parent c990d0e commit 950e3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (c *connector) Start() {

func (c *connector) Close() {
c.dcp.Close()
c.bulk.Close()
}

func (c *connector) listener(ctx *models.ListenerContext) {
Expand Down

0 comments on commit 950e3de

Please sign in to comment.