HomeSort by relevance Sort by last modified time
    Searched refs:host_limit (Results 1 - 2 of 2) sorted by null

  /external/autotest/scheduler/shard/
simple_heartbeat_client.py 19 --host_limit 1 --job_limit 100
58 def get_heartbeat_packet(server, board, host_limit, job_limit):
61 Constructs a url like: http://localhost:8080/lumpy?raw&host_limit=3
65 @param host_limit: The number of hosts to include in the heartbeat.
73 if host_limit:
74 url = '%s&host_limit=%s' % (url, host_limit)
95 def perform_heartbeat(self, board, host_limit, job_limit):
99 @param host_limit: Limit number of hosts retrieved.
103 self.server, board, host_limit, job_limit
    [all...]
simple_heartbeat_server.py 21 /lumpy?raw&host_limit=1&job_limit=0: Return a 'raw' heartbeat with the
87 def _get_hosts(board, host_limit=None):
90 return hosts[:host_limit] if host_limit is not None else hosts
105 Handles urls like: http://localhost:8080/lumpy?raw&host_limit=5
113 host_limit = None
118 elif split_query[0] == 'host_limit':
119 host_limit = int(split_query[1])
123 host_time, hosts = self._get_hosts(board, host_limit)

Completed in 217 milliseconds