Excluding Users from Activity Streams
Larger P4 Server installations often have one or more service users that perform automated tasks, such as build systems, continuous integration test servers, or integrations with 3rd-party databases via P4 DTG.
As P4 Code Review reports the activity of users, and these service users can generate significant volumes of activity entries, P4 Code Review provides a mechanism to ignore activity from specified users.
If changes to the config.php file might have caused the P4 Code Review web interface to become unresponsive, remove the problematic changes from the config.php file, then clear the configuration cache by running this command:rm -f /opt/perforce/swarm/data/cache/module-config-cache.php
Update the SWARM_ROOT/data/config.php file to include the following configuration block:
<?php
// this block should be a peer of 'p4'
'activity' => array(
'ignored_users' => array(
'p4dtguser',
'system',
),
),
After SWARM_ROOT/data/config.php is updated, P4 Code Review no longer records activity for any of the listed userids. Any previously recorded activity is included in activity streams.