def shutdown(): periodical.kill()
def handle_gcollectdisable(bot, ievent): state['enable'] = 0 state.save() periodical.kill() ievent.reply('gcollect disabled')
def shutdown(): """ kill all lag meter periodical jobs """ periodical.kill()