0

Synchronous long server operation

asked 2015-05-14 17:56:33 +0800

rex gravatar image rex
120 2

Hi all,

Where is the setting in ZK to set the timeout on server response. I would like ZK client to wait 5 mins before declaring timeout on the request. I would like to be synchronous so the asynchronous postings do not apply to me. User has to wait until the server has completed the long task. This is pseudo code for what is currently happening:

ViewModelClass { ...... serviceCallThatTakes3Mins(); //Never returns and browser shows an alert with OK/Cancel Client.message("Operation successful", "Info" , ...) //After user press cancel this message is shown on the screen

There has to be somewhere in ZK configurations that I can set this timeout on server response. Or it could be in Spring or Tomcat.

Can anyone tell me where to find it?

Thanks,

--Rex

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-05-14 17:56:33 +0800

Seen: 12 times

Last updated: May 14 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More