forkeado de spla/fediverse
Updated
This commit is contained in:
pare
5992e67172
commit
99762c74b2
S'han modificat 1 arxius amb 0 adicions i 4 eliminacions
|
@ -317,15 +317,11 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
now = start
|
now = start
|
||||||
|
|
||||||
#world_servers = db.get_world_servers()
|
|
||||||
|
|
||||||
ray_start = time.time()
|
ray_start = time.time()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
#results = ray.get([getsoft.remote(server) for server in world_servers])
|
|
||||||
results = ray.get([getsoft.remote(server) for server in hostname_peers])
|
results = ray.get([getsoft.remote(server) for server in hostname_peers])
|
||||||
#[getsoft(server) for server in world_servers]
|
|
||||||
|
|
||||||
print(f"duration = {time.time() - ray_start}.\nprocessed servers: {len(results)}")
|
print(f"duration = {time.time() - ray_start}.\nprocessed servers: {len(results)}")
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència