diff --git a/CHANGELOG.md b/CHANGELOG.md index d3720d6..0276616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.3] - 2020-05-08 + +### Added + +- `Close` method is added to `Client`. + ## [0.8.2] - 2020-05-03 ### Fixed diff --git a/README.md b/README.md index 1a51298..e824586 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ const redisAddr = "127.0.0.1:6379" func main() { r := asynq.RedisClientOpt{Addr: redisAddr} c := asynq.NewClient(r) + defer c.Close() // ---------------------------------------------------- // Example 1: Enqueue task to be processed immediately.