Skip to content

fix: shutdown workers on SIGTERM or SIGINT#92

Merged
jyecusch merged 3 commits intomainfrom
fix/handle-sigterm-sigint
Oct 14, 2024
Merged

fix: shutdown workers on SIGTERM or SIGINT#92
jyecusch merged 3 commits intomainfrom
fix/handle-sigterm-sigint

Conversation

@jyecusch
Copy link
Copy Markdown
Member

@jyecusch jyecusch commented Oct 4, 2024

No description provided.

@jyecusch jyecusch requested a review from tjholm October 4, 2024 08:52
The test was using a version lower than 1.22.1 (the minimum needed for the project). The lichen license checker relies on the JSON output from `go mod download`, but when the version is to low the output looks like this:

```
go: github.com/nitrictech/nitric/core@v0.0.0-20241003062412-76ea6275fb0b requires go >= 1.22.1; switching to go1.22.8
{
        "Path": "google.golang.org/grpc",
        "Version": "v1.66.0",
...
```

resulting in invalid JSON, breaking the test. Setting the go version used for the test fixes this.
@jyecusch jyecusch merged commit 9290bb2 into main Oct 14, 2024
@jyecusch jyecusch deleted the fix/handle-sigterm-sigint branch October 14, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants