def clear_used_client_ids(data):
    print(
        "Clear all locks on broker client IDs. DO NOT DO IF ANY BROKER SESSIONS ARE ACTIVE!"
    )
    ans = input("Are you sure? (y/other)")
    if ans == "y":
        client_id_data = dataBrokerClientIDs(data)
        client_id_data.clear_all_clientids()
Ejemplo n.º 2
0
def startup():
    data_controls = dataControlProcess()
    data_controls.finish_all_processes()

    data_clientids = dataBrokerClientIDs()
    data_clientids.clear_all_clientids()