-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Telegram Connection pool is full (and other tweaks) #5307
Conversation
- Increase connection pool (remove pool is full errors) - Remove json read for player_stats - Replaced "spin up" with "start"
@Gobberwart, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DBa2016, @askovpen and @solderzzc to be potential reviewers |
Yes, the 'Connection pool is full' message is the only thing I can see on the console. |
Hmmm CI failed with error
You think that's related? Shouldn't be but not sure... Any thoughts? |
|
Never mind, build passed now without me changing anything. Should be ready to merge if someone wants to approve it. |
class TelegramClass: | ||
|
||
update_id = None | ||
|
||
session = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing at all. Was part of something I was testing, now unneccessary. Removing before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in latest commit. Good catch, thanks.
@sohje Lots of comments on things that are not relevant to this PR. Yes, Telegram_handler.py needs a cleanup but not here. |
@Gobberwart You already done some cleanup with this PR. That's why i commented. This PR about fix pool size, half cleanup also added? request.CON_POOL_SIZE = 16 |
Let's remove the mass log with no much meaning on console. |
@sohje I only updated things that irritated me. In fact, this PR was originally going to be just about removing code from get_player_stats but I figured I'd look at connection pool while I was at it and that's probably more important. So yeah, not really much of a cleanup going on. I'll look into the other stuff later. |
@Gobberwart Okay, good. I dont mean any harm 👍 |
@sohje All good mate, just don't want the PR bogged down in unrelated minutiae. |
OK to merge now then? Please approve. |
LOL I know I can, I just prefer to let someone else check my work first :) |
Short Description:
Increase connection pool size to eliminate connection pool is full errors.
Removed unnecessary code from get_player_stats
Minor text tweaks (replace "spin up" with "start")
Fixes/Resolves/Closes (please use correct syntax):