Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with long running request.

    Hi,

    I am using RestDataSource which is used to post forms data on the server. At server end, request processing service is taking too long (around 6 minutes) to process the data. I am overriding transform response to post process the response. But after 6 minutes when server is done processing it writes the results on the stream. But my transform response is never called.

    This whole scenario is encountered only when server takes too long. Any ways when server reply back quickly every thing works well. I feel there's a loss of HTTP connection.. m not sure.

    Isomorphic, please let me know your expert comments on this.

    Thanks
    Last edited by Shrut; 17 Nov 2009, 03:26.

    #2
    The default timeout setting is 4 minutes, and you don't want to try to exceed this as there are many firewalls, proxies and so forth that will sever connections that have been open for 4 minutes or even shorter periods. Instead, send a request that kicks off the long running process, and then either poll the server or use a system like SmartClient Messaging to be notified ofthe results.

    Comment


      #3
      Thanks, for a quick response. Can you please let us know how to alert user that current request has been timed out.
      Last edited by Shrut; 17 Nov 2009, 04:35.

      Comment


        #4
        Where can I find this default timeout setting?

        Comment


          #5
          nevermind - found it

          Comment

          Working...
          X