Commit 8946ce5f authored by Antoine Millet's avatar Antoine Millet
Browse files

rescue tag on VM now use the new max_concurrent arg in background decorator

parent 6cd32e68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ def uuid(dom):
    return dom.uuid.lower()


@background
@background(max_concurrent=3)
def rescue(dom):
    """Is rescue mode enabled or not"""
    rescue_path = dom.hypervisor.handler.main.config.rescue_script