(The article below is specifically for customers running on Lite Speed. For general information about Threadloom and timeouts, view this article.)
If you are running Lite Speed, you can set a longer timeout in WebAdmin CP > Configuration > Server > Tuning > Connection Timeout (secs).
If you prefer to set the connection timeout specifically for Threadloom, the following approach has been tested and confirmed:
Update the .htaccess files in the following 3 locations:
/<path to forum home folder>
RewriteRule deferred.php - [E=noabort:1, E=noconntimeout:1]
/<path to forum home folder>/library/Threadloom
RewriteRule Sync.php - [E=noabort:1, E=noconntimeout:1]
/<path to forum home folder>/library/Threadloom/common
RewriteRule Syncer.php - [E=noabort:1, E=noconntimeout:1]
Note: On servers with very limited resources, it is possible that making these .htaccess changes may impact server load/capacity. Drop us a line if you want to chat about it first.