keep-network / keep-common

Common libraries and tools used across Keep repositories
MIT License
5 stars 14 forks source link

Require parent context in wrappers #109

Closed nkuba closed 1 year ago

nkuba commented 1 year ago

Instead of using context.Background() context in the wrappers we require a parent context to be passed so the retries and waits are correctly aborted when the parent context is done.

nkuba commented 1 year ago

This change was already integrated in keep-core: https://github.com/keep-network/keep-core/pull/3406/commits/70bba327634895de807a903e30875fe77a02c3ca