def update_pids(runtime_storage): pids = get_pids() if not pids: return runtime_storage.active_pids(pids)