Skip to content

Typing indicator stops after 10 seconds even with context manager #2790

Closed Answered by Soheab
TheAyes asked this question in Q&A
Discussion options

You must be logged in to vote

It's 10 seconds per request. You need to "block" the event loop for the amount of seconds you want it. Using await doesn't do that.

I know that you can use await asyncio.sleep(<seconds>) to make it longer, not sure about other ways.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lulalaby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants