Setting Timeouts for Queue Service Operations
Actualizado: abril de 2013
Each call to a Queue service API can include a timeout interval, which is used in two different ways.
The Queue service returns an error when the timeout interval elapses while processing the request.
If you are using a storage client, the storage client throws an exception when it does not receive an HTTP status code response from the service within the timeout interval. Timeout only applies to receipt of the status code, and does not apply to receipt of the message body or completion of data transfer to the client.
The default timeout interval is 30 seconds for REST calls to the Queue service. Thirty seconds is also the maximum timeout interval for Queue service operations. The Queue service reduces larger timeouts to 30 seconds. By default, storage clients specify a 90 second timeout with Queue service calls. The Queue service will return an error if it cannot prepare a proper response within 30 seconds, and the storage client will wait 90 seconds to throw an exception if it receives no response.
The following example REST URI sets the timeout interval for the List Queues (REST API) operation to 20 seconds:
ConceptosQueue Service Concepts