Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

google and image modules are synchronous #2

Open
freepizzas-dev opened this issue Aug 10, 2022 · 0 comments
Open

google and image modules are synchronous #2

freepizzas-dev opened this issue Aug 10, 2022 · 0 comments

Comments

@freepizzas-dev
Copy link
Owner

The current libraries used for the google and the image modules contain synchronous web requests.

This means the bot doesn't perform optimally with a lot of users. Since these modules are driven by third-party libraries, it's not trivial to make these modules asynchronous and non-blocking.

Possible solutions:

  • rewrite the necessary scrapers ourselves and remove sync blocking (probably easier for the image module)
  • find async libraries to replace the ones we're already using (probably easier for the google module)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant