Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

MOD: Upgrade hackney & fix crash on startup #120

Merged
merged 7 commits into from
Feb 21, 2021

Conversation

Zarathustra2
Copy link
Contributor

@Zarathustra2 Zarathustra2 commented Feb 8, 2021

For references: edgurgel/httpoison#414

Also:

If we start up multiple instances of the bot at the same time
the discord api will rate limit us and we will have to wait for the
specified amount of milliseconds.

As the expected keys are not present in the payload, json["url"]
will return nil and hence nil <> "?v=6&encoding=json" will crash.

If we start up multiple instances of the bot at the same time
the discord api will rate limit us and we will have to wait for the
specified amount of milliseconds.

As the expected keys are not present in the payload, json["url"]
will return nil and hence nil <> "?v=6&encoding=json" will crash.
@Zarathustra2 Zarathustra2 changed the title MOD: Upgrade hackney to fix checkout_timeout MOD: Upgrade hackney & fix crash on startup Feb 20, 2021
@Zarathustra2
Copy link
Contributor Author

Zarathustra2 commented Feb 20, 2021

@cronokirby This can be now merged. Fixed the pipeline as well as a potential crash which can happen at startup if multiple instances are being spawned at the same time!

Also congrats to 100 Stars! :)

@cronokirby
Copy link
Owner

Very nice!

@cronokirby cronokirby merged commit 48cd36e into cronokirby:master Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants