Play's continuations holding http threads

半腔热情 提交于 2019-12-04 04:35:45

As Guillaume has mentioned on the Google Groups site, this is because Play continuations only work on the inbuilt Netty server. You are entirely correct that this information is lacking from the documentation, but it is simply a case that only using Netty does Play have control over the request thread. For all the other servers, Play needs to create a wrapper around the servlet API, meaning that a thread cannot be held by Play.

Unfortunately, this is one of the trade-offs when using Play deployed to anything other than the preferred platform.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!