Lines Matching refs:DevServer
288 if args and isinstance(args[0], DevServer):
318 class DevServer(object): class
519 if load is not None and load.get(DevServer.AU_PROCESS):
523 load.get(DevServer.AU_PROCESS),
779 class CrashServer(DevServer):
839 class ImageServerBase(DevServer):
2358 if load[DevServer.CPU_LOAD] > DevServer.MAX_CPU_LOAD:
2361 load[DevServer.CPU_LOAD], DevServer.MAX_CPU_LOAD)
2363 if load[DevServer.NETWORK_IO] > DevServer.MAX_NETWORK_IO:
2366 load['devserver'], load[DevServer.NETWORK_IO],
2367 DevServer.MAX_NETWORK_IO)
2382 return int(devserver1[DevServer.DISK_IO] - devserver2[DevServer.DISK_IO])
2432 loads = [load for load in loads if load and DevServer.CPU_LOAD in load and
2433 DevServer.is_free_disk_ok(load) and
2434 DevServer.is_apache_client_count_ok(load)]