Commit e110045d authored by Joel Collins's avatar Joel Collins
Browse files

Increased default_stop_timeout on TileScanAPI

parent 5c99da26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -310,6 +310,10 @@ class TileScanAPI(ActionView):
        "resize": fields.Dict(missing=None),  # TODO: Validate keys
    }

    # Allow 10 seconds to stop upon DELETE request
    # Gives fast-autofocus time to finish if it's running
    default_stop_timeout = 10

    def post(self, args):
        microscope = find_component("org.openflexure.microscope")