Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

fix: Added bounded semaphore to prevent task flooding. Closes #1 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alxbl
Copy link
Contributor

@alxbl alxbl commented Oct 17, 2019

I added a bounded semaphore to limit the number of concurrent tasks created for the asyncio loop. This will ensure that the username file is not slurped and that at most 3 usernames per thread are loaded at once in the task queue. This should ensure that memory never swells too much with large user lists.

Cheers,
Alex

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.

None yet

1 participant