mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 20:16:07 +00:00
feat[virtual thread]: support virtual thread in net
This commit is contained in:
1 parent
cd8431ec95
commit
54209d9cc9
1 file changed
+1
-1
@@ -383,7 +383,7 @@ public class Router implements IRouter {
|
||||
}
|
||||
|
||||
if (receiver.task() == Task.VirtualThread && receiver.attachment() == null) {
|
||||
logger.warn("virtual thread task can not set Attachment, may cause some sync and async timeout, please use attachment in receiver method signature");
|
||||
logger.warn("virtual thread task can not set Attachment, may cause some sync and async timeout exception, please use attachment in receiver method signature and use attachment in sync and async request");
|
||||
}
|
||||
|
||||
receiver.invoke(session, packet, attachment);
|
||||
|
||||
Reference in new issue
Block a user