Commit timeout
When a code review contains many files, or large files, or both, committing the review within Swarm can take some time. The default configuration, within the SWARM_ROOT/data/config.php
file:
If you make a configuration change, Swarm will not use it until the configuration cache has been reloaded, this forces Swarm to use the new configuration. You must be an admin or super user to reload the Swarm config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.
<?php
// this block should be a peer of 'p4'
'reviews' => array(
'commit_timeout' => 1800, // 30 minutes
),
The commit_timeout
key is expressed in seconds. If a commit operation takes longer than this limit, it is terminated. It is likely that a terminated commit requires administrator intervention to complete the commit using another client.