def epoch_change():
global last_epoch_start
global should_send
now = int(time.time())/epoch
if now > last_epoch_start:
last_epoch_start = now
print "Epoch Change!\n"
reactor.connectSSL(tallyhost, int(tallyport), sendtallyfactory, ssl.ClientContextFactory())
评论列表
文章目录