Esempio n. 1
0
def p_heart_beat_timer():
    global g_clc_ip
    global g_cc_ip
    if g_clc_ip!=None and g_cc_ip!=None:
        OpenLdap.p_all_heart_beat(g_clc_ip,g_cc_ip,'cluster')
    heart = threading.Timer(HEART_BEAT_INTV , p_heart_beat_timer)
    heart.start()