Quarkus using eventloop thread for Kotllin suspend functions #32385
-
Hello Friends! I've been using Quarkus with Kotlin in an application that is destined for production, with the quarkus-kotlin extension installed, and I noticed that I was getting a warning sometimes about the eventloop thread being blocked for more than 2 seconds.
If you remove the suspend keyword, then the thread's name is an executor thread.
Is this behaviour expected? I am guessing that this is the cause of the occasional "eventloop thread being blocked" warning. Thanks so much for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
/cc @evanchooly (kotlin), @geoand (kotlin) |
Beta Was this translation helpful? Give feedback.
-
Hi, Yes, what you are seeing with the thread names is the expected behavior |
Beta Was this translation helpful? Give feedback.
Hi,
Yes, what you are seeing with the thread names is the expected behavior