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

[leveler] Timeout on leveler command when badge url inactive. #107

Open
XargsUK opened this issue Jul 17, 2021 · 0 comments
Open

[leveler] Timeout on leveler command when badge url inactive. #107

XargsUK opened this issue Jul 17, 2021 · 0 comments
Labels
bug pls fix

Comments

@XargsUK
Copy link

XargsUK commented Jul 17, 2021

Describe the bug
If the image URL for a badge is no longer valid, commands that interact with levelers badge system will have a large timeout before returning information (such as profile, available badges, etc).

To Reproduce

  • Create a Badge
  • Set the image URL to something which does not return an image
  • Run [p]profile

Expected behavior
In the instance that a badges image cannot be accessed, a lower timeout along with an error message logged about being unable to retrieve the badge would work well. Because this is nosql, updating the image url would have to be applied across all user objects rather than just in the badges table

Red version
3.4.12

Additional context
To resolve this issue, I had to manually update the badge url within mongodb across all user objects.

@XargsUK XargsUK added the bug pls fix label Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pls fix
Projects
None yet
Development

No branches or pull requests

1 participant