It is possible to prevent HTTP timeouts, e.g. when assigning a partition to folders that contain millions or records.
This functionality is configurable at web.config level (see About web.config), by setting the parameter executionTimeout to the appropriate value in seconds (default is 300 seconds):
<httpRuntime
maxRequestLength="409600"
requestLengthDiskThreshold="409600"
executionTimeout="300"
requestValidationMode="2.0"
/>
See also
Preventing browser session timeout
Preventing login timeout in client applications
Preventing interactive workflow timeout