From 26b78136badb57f4512faf0c96bc6e7e8ef4569e Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Fri, 8 May 2020 06:19:48 -0700 Subject: [PATCH] v0.8.3 --- CHANGELOG.md | 6 ++++++ README.md | 1 + 2 files changed, 7 insertions(+) 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.