Replies: 1 comment
-
I think it's doing what it's designed to do. The function within the However, if you are performing a synchronous http request then it will block for you. If not, how else would the data be returned? You can use an asynchronous http client such as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the great package :)
I am making a Plumber API and am wondering how I can prevent an endpoint from blocking when using Mirai ?
For example:
The API itself is not blocked when I call
/sleep
(I can still call the/echo
endpoint while it processes), but the/sleep
endpoint is blocked for 10 seconds.Any tips ?
Beta Was this translation helpful? Give feedback.
All reactions