本文介绍了增加“1 分钟后Pagemap null 仍被锁定"的锁定时间;例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
限时送ChatGPT账号..org.apache.wicket.protocol.http.request.InvalidUrlException:
org.apache.wicket.WicketRuntimeException:
After 1 minute the Pagemap null is still locked by:
Thread[http-8443-3,5,main], giving up trying to get the page for path: 3:timer
这 1 分钟在哪里?是检票口设置,还是tomcat?或者 ...?我该如何修改?
Where is this 1 minute set? Is a wicket setting, or a tomcat? or ...? How can I modify this?
推荐答案
虽然我同意 Martijn 的回答(你不应该让用户等待超过一分钟),但是可以通过调用 WebApplication.getRequestCycleSettings().setTimeout()
在您的应用程序对象上.
Although I agree with Martijn's answer (you shouldn't keep users waiting for more than a minute), the timeout can be set by calling WebApplication.getRequestCycleSettings().setTimeout()
on your application object.
将其设置为 3 分钟的示例:
Example to set it to 3 Minutes:
WebApplication.get().getRequestCycleSettings().setTimeout(Duration.minutes(3));
这篇关于增加“1 分钟后Pagemap null 仍被锁定"的锁定时间;例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论