def _on_configured():
    global pulses_per_second, pulse_lc, maintenance_lc
    pulses_per_second = pulse_interval / 1
    if pulse_lc:
        pulse_lc.stop()
    pulse_lc = PeriodicCallback(_pulse, pulse_interval * 1000)
    pulse_lc.start()
    info("Pulse Event heartbeat started at {} seconds", pulse_interval)

    if maintenance_lc:
        maintenance_lc.stop()
    maintenance_lc = PeriodicCallback(lambda: dispatch('maintenance'), 60 * maintenance_interval * 1000)
    maintenance_lc.start()
    info("Maintenance Event heartbeat started at {} minutes", maintenance_interval)
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/gameops/event.py/_on_configured/swapped operands of `/`