From 84b0c76c8b2cbd00fce819508c369ccd7e2f6274 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Sun, 5 Apr 2020 14:56:06 -0700 Subject: [PATCH] v0.7.1 --- CHANGELOG.md | 6 ++++++ signals_unix.go | 2 +- signals_windows.go | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcc412e..918f22c 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.7.1] - 2020-04-05 + +### Fixed + +- Fixed signal handling for windows. + ## [0.7.0] - 2020-03-22 ### Changed diff --git a/signals_unix.go b/signals_unix.go index f68124e..463661f 100644 --- a/signals_unix.go +++ b/signals_unix.go @@ -11,7 +11,7 @@ import ( "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. // SIGTERM and SIGINT will signal the process to exit. // SIGTSTP will signal the process to stop processing new tasks. diff --git a/signals_windows.go b/signals_windows.go index 10aa0a1..513ba31 100644 --- a/signals_windows.go +++ b/signals_windows.go @@ -9,8 +9,8 @@ import ( "golang.org/x/sys/windows" ) -// waitForSignals waits for signals and handle them. -// It handles SIGTERM, SIGINT. +// waitForSignals waits for signals and handles them. +// It handles SIGTERM and SIGINT. // SIGTERM and SIGINT will signal the process to exit. // // Note: Currently SIGTSTP is not supported for windows build.