Skip to content

feat(notifier): retry mechanism on slack notif#137

Open
idilhaq wants to merge 8 commits into
mainfrom
retry-notif
Open

feat(notifier): retry mechanism on slack notif#137
idilhaq wants to merge 8 commits into
mainfrom
retry-notif

Conversation

@idilhaq
Copy link
Copy Markdown

@idilhaq idilhaq commented Mar 20, 2024

No description provided.

@idilhaq idilhaq linked an issue Mar 20, 2024 that may be closed by this pull request
@rahmatrhd rahmatrhd added this to the v0.9.2 milestone Mar 25, 2024
Comment thread plugins/notifiers/client.go Outdated
Comment thread plugins/notifiers/client.go Outdated
Comment thread pkg/http/retry.go
Comment thread pkg/http/retry.go Outdated
Comment thread pkg/http/retry.go
Comment thread plugins/notifiers/client.go Outdated
Comment thread plugins/notifiers/client.go Outdated
const (
ProviderTypeSlack = "slack"
ProviderTypeSlack = "slack"
DefaultTimeoutInSeconds = 10
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also can be part of pkg/http

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timeout is the part of the new HTTP client from Go package. Let's just remove the const and use the default from the http package (90 secs). But still this 10 secs should be set on config since 90 is too much for the timeout.

@rahmatrhd rahmatrhd modified the milestones: v0.9.2, v0.10.0 Apr 24, 2024
@rahmatrhd rahmatrhd removed this from the v0.10.0 milestone May 2, 2024
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.

retry slack notifications incase of timeout errors

4 participants