Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retryhttp client #592

Merged
merged 1 commit into from
Dec 19, 2024
Merged

retryhttp client #592

merged 1 commit into from
Dec 19, 2024

Conversation

maurafortino
Copy link
Contributor

What's Included:

  • updated v2.Send to use retryhttp client
  • fixed a couple of spelling mistakes

@@ -215,29 +215,6 @@ func getUrls(urls []string) (int, error) {

}

func (whs WebhookSink) Send(secret, acceptType string, msg *wrp.Message) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved this down toward the v2 logic so that they are all together

@@ -650,22 +627,6 @@ func AddMessageHeaders(kafkaMsg *sarama.ProducerMessage, m *wrp.Message) {
}
}

func (v2 *WebhookV2) Update(c Config, l *zap.Logger, altUrls []string, id, failureUrl, receiverUrl string) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

function wasn't being used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: we will be updating the logic for the LoadBalancingScheme in the next PR

@maurafortino maurafortino changed the base branch from webhook-v2 to denopink/feat/rewrite December 18, 2024 17:17
@maurafortino maurafortino changed the base branch from denopink/feat/rewrite to webhook-v2 December 18, 2024 17:18
Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

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

LGTM! Keep up the great work! 🍻

@maurafortino maurafortino merged commit e47cf18 into webhook-v2 Dec 19, 2024
11 of 14 checks passed
@maurafortino maurafortino deleted the retry-client branch December 19, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants