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

fix: Bug: Slack rate limit #1386

Merged
merged 12 commits into from
Jan 4, 2024
Merged

Conversation

alikonhz
Copy link
Contributor

@alikonhz alikonhz commented Nov 2, 2023

This is my attempt to fix the issue with Slack notifications being rate limited.
Fixes issue #919

@idanasulin2706
Copy link
Contributor

Hi @alikonhz thanks for the willing to contribute to Memphis, it will be carefully reviewed and we will update over here as soon as we can

Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

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

Hi @alikonhz thanks for this amazing PR it would help Memphis a lot.
I left some comments.
Also, you will notice that you have a few conflicts to resolve

server/jetstream.go Outdated Show resolved Hide resolved
server/client.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/background_tasks.go Outdated Show resolved Hide resolved
server/notifications.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/notifications.go Outdated Show resolved Hide resolved
Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

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

Hi @alikonhz it is very closed to be completed just a few last comments

server/memphis_helper.go Outdated Show resolved Hide resolved
server/memphis_helper.go Outdated Show resolved Hide resolved
server/notifications.go Outdated Show resolved Hide resolved
server/notifications_slack.go Outdated Show resolved Hide resolved
…notifications filter subject for the notification consumer. Add time.sleep when Slack returns rate limit error
Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

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

@alikonhz Last improvements that we need are in the comments. Thanks

server/notifications_slack.go Outdated Show resolved Hide resolved
server/notifications_slack.go Outdated Show resolved Hide resolved
Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

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

Another small thing please

server/notifications_slack.go Outdated Show resolved Hide resolved
Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

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

thanks @alikonhz for the amazing work, approved, merged and will be released on the next version

@idanasulin2706 idanasulin2706 merged commit 6e259d3 into superstreamlabs:master Jan 4, 2024
1 check failed
@Avitaltrifsik
Copy link
Contributor

Hey @alikonhz would love it if you join our discord channel so I can reach out for details to send you a swagpack :)

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.

None yet

3 participants