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 customizable executor for TelegramChannel #251

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Denire
Copy link
Contributor

@Denire Denire commented Feb 25, 2023

Why?
TelegramChannel library uses single-thread executor to handle updates and process requests, harming performance on high-loaded bots.

What was changed?

  1. Added support for custom Executor in TelegramChannel. Users now can pass other Executor implementations with different thread factories, monitoring, etc.
  2. Added logLevel customization for telegram network logging.

@Denire Denire force-pushed the feature/custom-thread-pool-executor-for-tg branch from f7f6386 to 9524f17 Compare February 25, 2023 13:34
@Denire Denire force-pushed the feature/custom-thread-pool-executor-for-tg branch from 9524f17 to ca98f5f Compare February 25, 2023 13:36
@Denire Denire merged commit cf06d0a into master Mar 16, 2023
@Denire Denire deleted the feature/custom-thread-pool-executor-for-tg branch March 16, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants