Skip to content

Commit 0257907

Browse files
author
Shlomi Noach
committed
Call the throttler.Teardown
1 parent 9226769 commit 0257907

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

go/logic/migrator.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,4 +1262,9 @@ func (this *Migrator) teardown() {
12621262
log.Infof("Tearing down streamer")
12631263
this.eventsStreamer.Teardown()
12641264
}
1265+
1266+
if this.throttler != nil {
1267+
log.Infof("Tearing down throttler")
1268+
this.throttler.Teardown()
1269+
}
12651270
}

0 commit comments

Comments
 (0)