在清单5中,当用户确认订单的时间超过一分钟,应用程序就会超时。
In Listing 5, when a user takes more than a minute to confirm an order, the application has to time out.
在联系数据库之前,运行时确认通信超时值没有设置为无限等待。
Before doing this, the runtime ensures that the communication timeout value is not set to infinite wait.
之后,在线交易应用程序需要用户确认购买订单,并且为用户强制设置确认订单超时时间。
The online trading application then requests the user to confirm the buy order and enforces a timeout period for the user to confirm the order.
应用推荐