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

Add default limits to queues #6

Closed
alexander-akhmetov opened this issue Dec 10, 2018 · 0 comments
Closed

Add default limits to queues #6

alexander-akhmetov opened this issue Dec 10, 2018 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@alexander-akhmetov
Copy link
Owner

alexander-akhmetov commented Dec 10, 2018

There are no limits for message queues and results:

Message queues
telegram.client.Telegram._queue

self._queue: queue.Queue = queue.Queue()

telegram.client.Telegram._workers_queue

self._workers_queue: queue.Queue = queue.Queue()

Results dictionary
telegram.client.Telegram._results

self._results: Dict[str, AsyncResult] = {}

@alexander-akhmetov alexander-akhmetov self-assigned this Dec 10, 2018
@alexander-akhmetov alexander-akhmetov added bug Something isn't working enhancement New feature or request labels Dec 10, 2018
alexander-akhmetov pushed a commit that referenced this issue Dec 10, 2018
Fix #6 #5 Added default limit for workers queue; Removed unnecessary queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant