mirror of
https://github.com/hibiken/asynq.git
synced 2024-11-14 11:31:18 +08:00
v0.7.1
This commit is contained in:
parent
60b887b8e3
commit
84b0c76c8b
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.7.1] - 2020-04-05
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed signal handling for windows.
|
||||||
|
|
||||||
## [0.7.0] - 2020-03-22
|
## [0.7.0] - 2020-03-22
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/hibiken/asynq/internal/base"
|
"github.com/hibiken/asynq/internal/base"
|
||||||
)
|
)
|
||||||
|
|
||||||
// waitForSignals waits for signals and handle them.
|
// waitForSignals waits for signals and handles them.
|
||||||
// It handles SIGTERM, SIGINT, and SIGTSTP.
|
// It handles SIGTERM, SIGINT, and SIGTSTP.
|
||||||
// SIGTERM and SIGINT will signal the process to exit.
|
// SIGTERM and SIGINT will signal the process to exit.
|
||||||
// SIGTSTP will signal the process to stop processing new tasks.
|
// SIGTSTP will signal the process to stop processing new tasks.
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
"golang.org/x/sys/windows"
|
"golang.org/x/sys/windows"
|
||||||
)
|
)
|
||||||
|
|
||||||
// waitForSignals waits for signals and handle them.
|
// waitForSignals waits for signals and handles them.
|
||||||
// It handles SIGTERM, SIGINT.
|
// It handles SIGTERM and SIGINT.
|
||||||
// SIGTERM and SIGINT will signal the process to exit.
|
// SIGTERM and SIGINT will signal the process to exit.
|
||||||
//
|
//
|
||||||
// Note: Currently SIGTSTP is not supported for windows build.
|
// Note: Currently SIGTSTP is not supported for windows build.
|
||||||
|
Loading…
Reference in New Issue
Block a user