Exemple #1
0
def and_put_data_until_hdds_have_free_capacity_less_than(step, free):
    primitives.put_data_to_network(world.addresses, world.stat_f_obj, int(free))
Exemple #2
0
def and_put_data_until_hdds_are_full(step):
    while True:
        is_all_full = primitives.put_data_to_network(world.addresses, world.stat_f_obj)
        if is_all_full:
            break
        time.sleep(40)