This commit is contained in:
Ken Hibino
2020-04-05 14:56:06 -07:00
parent 60b887b8e3
commit 84b0c76c8b
3 changed files with 9 additions and 3 deletions

View File

@@ -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.