hbp_nrp_backend.rest_server.cleanup module

This module defines a job that runs in the background and looks for expired simulations

clean_simulations()[source]

Wakes up every five minutes and stops expired simulations

This function is not unit-tested as it contains an endless loop

remove_old_simulations(_last_stopped)[source]

Stops expired simulations