avito-tech / go-transaction-manager

Transaction manager for GoLang
MIT License
231 stars 14 forks source link

Fix goroutine leaking #103

Closed maranqz closed 8 months ago

maranqz commented 9 months ago

A goroutine leak occurs when the TRM is used in crons or worker, and the main context lives for a long time.

To solve this problem before PR, you can set setttings.Cancelable equals true.