Closed hifi closed 1 year ago
When using Litestream as a library, closing a database might not be desired to block forever due to replicas being stuck.
This moves the inner background context to an argument to allow the caller to limit the stop by using a cancelable context.
When using Litestream as a library, closing a database might not be desired to block forever due to replicas being stuck.
This moves the inner background context to an argument to allow the caller to limit the stop by using a cancelable context.