Increased default_stop_timeout on TileScanAPI
This commit is contained in:
parent
5c99da264f
commit
e110045dd3
1 changed files with 4 additions and 0 deletions
|
|
@ -310,6 +310,10 @@ class TileScanAPI(ActionView):
|
||||||
"resize": fields.Dict(missing=None), # TODO: Validate keys
|
"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):
|
def post(self, args):
|
||||||
microscope = find_component("org.openflexure.microscope")
|
microscope = find_component("org.openflexure.microscope")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue