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

translate: mangle is a bit useless due to rate limit #2021

Closed
RhinosF1 opened this issue Jan 24, 2021 · 1 comment · Fixed by #2160
Closed

translate: mangle is a bit useless due to rate limit #2021

RhinosF1 opened this issue Jan 24, 2021 · 1 comment · Fixed by #2160
Labels
Bug Things to squish; generally used for issues Easyfix Bugs or Tweaks that are easy for a new contributor to fix or implement Low Priority
Milestone

Comments

@RhinosF1
Copy link
Contributor

Description

Mangle ends up just saying 'None' a lot after using it more than once or twice within a minute or so due to what seems to be a rate limit

Reproduction steps

  1. Start a basic, stock sopel up
  2. Use mangle a few times within a minute or so
  3. It returns None

Expected behavior

It either back off and respond when it is successful or error nicely. @Rate (I think) might be useful here

Logs

If applicable, add logs to help us figure out what's happening. Raw logs are
super helpful! Logs are usually found in ~/.sopel/logs, depending on your
configuration.

Environment

  • Sopel .version: lastest on PyPi
  • Sopel installed via: pip
  • Python version: 3.7
  • Operating system: Debian Buster
  • IRCd /version: freenode's
  • Relevant plugins: mangle

Notes

https://cloud.google.com/translate/quotas

@RhinosF1 RhinosF1 added the Bug Things to squish; generally used for issues label Jan 24, 2021
@dgw
Copy link
Member

dgw commented Jun 6, 2021

I had to spam a .mangle command over 20 times in a minute for it to stop responding.

Low priority issue, patches welcome, yadda-yadda.

@dgw dgw added Easyfix Bugs or Tweaks that are easy for a new contributor to fix or implement Low Priority labels Jun 6, 2021
@dgw dgw added this to the 7.1.3 milestone Jul 14, 2021
@dgw dgw closed this as completed in #2160 Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Things to squish; generally used for issues Easyfix Bugs or Tweaks that are easy for a new contributor to fix or implement Low Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants