Export (0) Print
Expand All

Setting Timeouts for Table Service Operations

Updated: June 30, 2010

Each call to a Table service API can include a timeout interval, which is used in two different ways.

  • The Table service returns an error when the timeout interval elapses while processing the request. The maximum timeout interval for a Table service call is 30 seconds.

  • If you are using a storage client, it 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 timeout interval can exceed 30 seconds.

The Table service enforces server timeouts as follows:

  • Query operations: During the timeout interval, a query may execute for up to a maximum of five seconds. If the query does not complete within the five-second interval, the response includes continuation tokens for retrieving remaining items on a subsequent request. See Query Timeout and Pagination for more information.

  • Insert, update, and delete operations: The maximum timeout interval is 30 seconds. Thirty seconds is also the default interval for all insert, update, and delete operations.

If you specify a timeout interval that is greater than 30 seconds, the Table service uses 30 seconds. If you specify a timeout that is less than the service's default timeout, your timeout interval will be used.

See Also

Show:
© 2014 Microsoft