# HG changeset patch # User cmlenz # Date 1188461242 0 # Node ID 57822fefd4416843c1a04e68d8dad7a5ca8c0184 # Parent 9d0651c819a8c05afea1a6c8a2152d2c6a4ec1f8 Fix default for poll interval of slave. diff --git a/bitten/slave.py b/bitten/slave.py --- a/bitten/slave.py +++ b/bitten/slave.py @@ -58,7 +58,7 @@ def __init__(self, url, name=None, config=None, dry_run=False, work_dir=None, keep_files=False, single_build=False, - poll_interval=60, username=None, password=None, + poll_interval=300, username=None, password=None, dump_reports=False): """Create the build slave instance. @@ -74,7 +74,8 @@ :param single_build: whether this slave should exit after completing a single build, or continue processing builds forever :param poll_interval: the time in seconds to wait between requesting - builds from the build master + builds from the build master (default is five + minutes) :param username: the username to use when authentication against the build master is requested :param password: the password to use when authentication is needed @@ -312,7 +313,7 @@ parser.set_defaults(dry_run=False, keep_files=False, loglevel=logging.INFO, single_build=False, - dump_reports=False) + dump_reports=False, interval=300) options, args = parser.parse_args() if len(args) < 1: