Visitar URL original
Session name in "Sleeping for Xs" by CrisMystik · Pull Request #401 · pyrogram/pyrogram · GitHub
The Wayback Machine - https://web.archive.org/web/20201210054138/https://github.com/pyrogram/pyrogram/pull/401
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

Session name in "Sleeping for Xs" #401

Merged
merged 7 commits into from May 7, 2020
Merged

Conversation

@CrisMystik
Copy link
Contributor

@CrisMystik CrisMystik commented May 6, 2020

I have added session names in "Sleeping for Xs" messages, as in plugins loaded info.
For example:
[my_account] Sleeping for 5s

CrisMystik added 7 commits May 6, 2020
a
@delivrance
Copy link
Member

@delivrance delivrance commented May 7, 2020

@SuperCz1 Thanks for this. However I now realize there's a lot of duplicated code there. I think it is time to add automatic sleeps for all requests right into .send(). Merging your PR meanwhile.

@delivrance delivrance merged commit c05c5c4 into pyrogram:develop May 7, 2020
@delivrance
Copy link
Member

@delivrance delivrance commented May 7, 2020

@SuperCz1 Thanks for this. However I now realize there's a lot of duplicated code there. I think it is time to add automatic sleeps for all requests right into .send(). Merging your PR meanwhile.

Done in 99aee98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.