OperationCode / operationcode_backend

This is the backend repo for the Operation Code website
https://operationcode.org
MIT License
62 stars 110 forks source link

WIP: API request to PyBot for Slack invite #504

Closed juliantrueflynn closed 5 years ago

juliantrueflynn commented 5 years ago

Description of changes

Have PyBot handle Slack API invite. This is apart of ongoing task of moving responsibility to PyBot instead of Rails.

Note: this is before adding tests to make sure is on right track.

Issue Resolved

Fixes #481

apex-omontgomery commented 5 years ago

Theres some randomness involved. Let's go for somewhere between 5 to 10. I'll trust your judgement

juliantrueflynn commented 5 years ago

Theres some randomness involved. Let's go for somewhere between 5 to 10. I'll trust your judgement

The PR I just made has retries: 5, do you want to go above that? You're right it's random and the test I did was slightly under 5 minutes.

juliantrueflynn commented 5 years ago

Sorry, I swore I pushed the retries ActiveJob update but I guess I didn't? Hope you weren't waiting for this.