From 93e2893b1070d8c997c51021c28d37ecda3445b9 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 15 Jun 2020 12:11:03 +0100 Subject: [PATCH] Removed unused gevent refs --- openflexure_microscope/api/v2/views/streams.py | 2 +- openflexure_microscope/utilities.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/openflexure_microscope/api/v2/views/streams.py b/openflexure_microscope/api/v2/views/streams.py index 7fe23d2d..f8b8cbe7 100644 --- a/openflexure_microscope/api/v2/views/streams.py +++ b/openflexure_microscope/api/v2/views/streams.py @@ -25,7 +25,7 @@ class MjpegStream(PropertyView): frame from the camera object, passed to the Flask response, and then repeats until the connection is closed. - Without monkey patching with gevent, or using a native threaded server, the stream + Without monkey patching, or using a native threaded server, the stream will block all proceeding requests. """ microscope = find_component("org.openflexure.microscope") diff --git a/openflexure_microscope/utilities.py b/openflexure_microscope/utilities.py index f166ce79..185478f6 100644 --- a/openflexure_microscope/utilities.py +++ b/openflexure_microscope/utilities.py @@ -8,7 +8,6 @@ import logging from collections import abc from functools import reduce from contextlib import contextmanager -import gevent def deserialise_array_b64(b64_string, dtype, shape):