AnsweredAssumed Answered

EsriRequest -- timeout option

Question asked by skitterm on Dec 4, 2014

In the ArcGIS JavaScript API, there is the esri/request "class". One of the options when making an EsriRequest is to specify the timeOut parameter to override the default timeout of 60 seconds. My instantiation of EsriRequest looks like the following:

 

request = EsriRequest({

      url: url,

      callbackParamName: 'callback',

      timeOut: 10000,

      content: {

          f: 'json',

          token: token

      }

  },

  {

  disableIdentityLookup: true

  });

 

Everything works fine, except that it is still taking 60 seconds for my request to time out, instead of 10 as I specified.

 

Any ideas?

Outcomes