3

I want to temporarily increase the timeout settings in a Sitecore 9 environment while I run the tool for removing broken links (https://stackoverflow.com/questions/28725537/how-to-remove-broken-links-in-sitecore).

The answer there mentions the DataProviderTimeout

<setting name="DataProviderTimeout" value="00:00:00" />

I cannot see this setting in the configs for Sitecore 9. What is the equivalent setting here?

1 Answer 1

4

It's Sitecore.Configuration.Settings.DefaultSQLTimeout

<!--  DEFAULT SQL TIMEOUT
        The default timeout for all SQL commands issued by the Sitecore APIs, such as
        the SqlServerDataProvider, the OracleDataProvider or the SqlUtil classes.
        Default value: 00:05:00 (5 minutes)
  -->
<setting name="DefaultSQLTimeout" value="00:05:00" />

Source:

[Obsolete("'Sitecore.Configuration.Settings.DataProviderTimeout' is obsolete. Use 'Sitecore.Configuration.Settings.DefaultSQLTimeout' instead.")]

1
  • I had DefaultSQLTimeout already. So I just ignore DataProviderTimeout completely now. Thanks! Commented Sep 12, 2019 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.