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

reviews: Retry Slack webhooks and add to Redis only when successful. #13

Merged
merged 1 commit into from
Sep 5, 2016

Conversation

iakat
Copy link
Collaborator

@iakat iakat commented Sep 2, 2016

Closes #11

@@ -77,7 +77,10 @@ def send_to_slack(self):
}

for webhook_url in config.SLACK_WEBHOOK_URLS:
requests.post(webhook_url, json=body)
r = requests.post(webhook_url, json=body)
Copy link
Contributor

Choose a reason for hiding this comment

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

Might as well call it response in the actual code, don't you think? Especially since we already have an R.

@underyx
Copy link
Contributor

underyx commented Sep 2, 2016

Looks like you forgot to change the R.sadd in __init__ 🈯

@underyx underyx merged commit f801ee0 into master Sep 5, 2016
@underyx underyx deleted the retry_slack_webhooks branch November 3, 2016 11:05
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

2 participants