-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(sink-worker): context and error handling
Context * use a single root context covering the whole application lifecycle * use dedicated context for shutdown operations as root/parent context might be cancelled which would prevent the shutdown to succeed Exit code * use dedicated exit codes when process is exited normally; due to OS signal; permanent error occured Signed-off-by: Krisztian Gacsal <chrisgacsal@users.noreply.github.com>
- Loading branch information
1 parent
7036fda
commit 31504af
Showing
2 changed files
with
80 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters