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

[Bug] Low /time config took more time #141

Open
bimbimprasetyoafif opened this issue Dec 11, 2021 · 2 comments
Open

[Bug] Low /time config took more time #141

bimbimprasetyoafif opened this issue Dec 11, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@bimbimprasetyoafif
Copy link

Hello, i have set /time 10 sec
But when my friend and i tried to not solve the captha, it take maybe less than 1 minute.

I not run on my local, i just add bot to my group

@J-Rios J-Rios added the bug Something isn't working label Jan 19, 2022
@J-Rios
Copy link
Owner

J-Rios commented Jan 19, 2022

Checked on current running instances of both @join_captcha_bot and @pro_join_captcha_bot...

The issue just happen on @join_captcha_bot, maybe it could be some bug in "public-limited" branch...

@J-Rios
Copy link
Owner

J-Rios commented May 28, 2022

This issue could be related to delay added by the Bot logic on handling time to kick users thread. This process for a high number of users being tracked at the same time (thousands or millions) needs a high intensive use of the CPU if we don't release this load a bit adding that delays.

Some changes has been done regarding this delays to reduce them and check if it helps to solve the issue of handling a very low kick time value when the Bot is handling a lot of users:
dfe025e

We will see if this change can be kept for current deployment machine or if we need to increase this delays again in the future (current CPU load before this change is ~15%)...

Regards.

@J-Rios J-Rios changed the title [Report] Time is not work as well [Bug] Time is not work as well May 28, 2022
@J-Rios J-Rios changed the title [Bug] Time is not work as well [Bug] Low /time config took more time Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants