When you use DaaS to verify address, email address, or phone number in a Visualforce Scout page, the page times out in 30 seconds. You can configure the timeout interval that can range from 30 through 120 seconds. Default is 30 seconds.
To configure the timeout interval, use the
Sfdc Visualforce Timeout in Milli Secs
internal setting.
The following sample code sets the timeout interval to 40 seconds:
API_SettingsManager.updateInternalSetting('Sfdc Visualforce Timeout in Milli Secs', 40000);