mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-25 07:12:17 +08:00
v0.8.3
This commit is contained in:
parent
44aad7f037
commit
26b78136ba
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.8.3] - 2020-05-08
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- `Close` method is added to `Client`.
|
||||||
|
|
||||||
## [0.8.2] - 2020-05-03
|
## [0.8.2] - 2020-05-03
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -147,6 +147,7 @@ const redisAddr = "127.0.0.1:6379"
|
|||||||
func main() {
|
func main() {
|
||||||
r := asynq.RedisClientOpt{Addr: redisAddr}
|
r := asynq.RedisClientOpt{Addr: redisAddr}
|
||||||
c := asynq.NewClient(r)
|
c := asynq.NewClient(r)
|
||||||
|
defer c.Close()
|
||||||
|
|
||||||
// ----------------------------------------------------
|
// ----------------------------------------------------
|
||||||
// Example 1: Enqueue task to be processed immediately.
|
// Example 1: Enqueue task to be processed immediately.
|
||||||
|
Loading…
Reference in New Issue
Block a user