2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-26 07:42:17 +08:00

Update changelog

This commit is contained in:
Ken Hibino 2020-04-18 12:37:24 -07:00
parent 74e5582cfc
commit 431a96a1f7

View File

@ -10,12 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- `Background` type is renamed to `Server`. - `Background` type is renamed to `Server`.
- To upgrade from the previous version, Update `NewBackground` to `NewServer` and pass `Config` by value. - To upgrade from the previous version, Update `NewBackground` to `NewServer` and pass `Config` by value.
- New `Server` type exposes `Start`, `Stop`, and `Quiet` as well as `Run`.
- CLI is renamed to `asynq`. - CLI is renamed to `asynq`.
- To upgrade to the latest version run `go get -u github.com/hibiken/tools/asynq` - To upgrade the CLI to the latest version run `go get -u github.com/hibiken/tools/asynq`
- The `ps` command in CLI is renamed to `servers` - The `ps` command in CLI is renamed to `servers`
### Added
- `ShutdownTimeout` field is added to `Config` to speicfy timeout duration used during graceful shutdown.
- New `Server` type exposes `Start`, `Stop`, and `Quiet` as well as `Run`.
## [0.7.1] - 2020-04-05 ## [0.7.1] - 2020-04-05
### Fixed ### Fixed