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

non-blocking http requests for Twitch Integration #60

Closed
wants to merge 5 commits into from

Conversation

Trimatix
Copy link
Contributor

This is an untested port of the synchronous requests made by TwitchIntegrationCog over to aiohttp.

I'm not expecting this not to work, but it definitely needs to be tested by @Ryth-cs please, since you know how the cog should work.

You'll notice that there's actually very, very little that's different about the code which is quite nice.

Note that graceful shutdown of the http client on SIGINT/SIGTERM is set up, we just need to figure out why docker isn't passing the signal to the bot.

@Trimatix Trimatix requested a review from Ryth-cs April 12, 2021 23:19
@Ryth-cs
Copy link
Collaborator

Ryth-cs commented Apr 13, 2021

Awesome! Sorry, I forgot to migrate away from requests when I was finishing the embeds last night. Will get this tested and reviewed. I assume we have a GH issue for the Docker graceful exit?

@Trimatix
Copy link
Contributor Author

I assume we have a GH issue for the Docker graceful exit?

we didn't, made one: #62

@Laura7089 Laura7089 added the enhancement New feature or request label May 31, 2021
@Trimatix Trimatix changed the title non-blocking http requests non-blocking http requests for Twitch Integration Jun 8, 2021
@Fluxticks
Copy link
Collaborator

This can probably be closed as I have made an implementation with the Twitch API on feat/TwitchCog

@Laura7089 Laura7089 closed this Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants