From 0647acd47dbd8ad9d8b6006663215aa8d3bcde5b Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 6 Nov 2020 16:15:34 +0000 Subject: [PATCH] Upped capture count warning to 10000 --- openflexure_microscope/rescue/check_capture_reload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/rescue/check_capture_reload.py b/openflexure_microscope/rescue/check_capture_reload.py index ad26e0f1..03f17748 100644 --- a/openflexure_microscope/rescue/check_capture_reload.py +++ b/openflexure_microscope/rescue/check_capture_reload.py @@ -34,9 +34,9 @@ def main(): # Check number of captures being restored files = make_file_list(cap_path, EXIF_FORMATS) - if len(files) >= 2000: + if len(files) >= 10000: error_sources.append(WarningSource( - ("Over 2000 captures are being restored. This may slow down server startup.", + ("Over 10000 captures are being restored. This may slow down server startup.", f"Consider moving your captures from {cap_path} to another location.") ))