openflexure-microscope-server/src/openflexure_microscope_server
Julian Stirling cdf23bc403 Add a timeout when shutting down the server.
The browser needs to be closed for graceful shutdown. If the browser
is left open the microscope may never shut down as it is waiting on
the uvicorn process to finish. This causes potential SD card issues.

This forces the server to force shutdown if it doesn't exit gracefully in
2 seconds.
2025-06-19 16:25:43 -04:00
..
server Add a timeout when shutting down the server. 2025-06-19 16:25:43 -04:00
things Add ruff checking for unnecessary comprehensions 2025-06-10 16:07:49 +01:00
__init__.py First images on labthings-fastapi 2023-08-29 17:02:16 +01:00
logging.py Configure log folder in json file 2025-06-03 14:05:58 +01:00
scan_planners.py Reimplement tie breaking by distance between 2025-04-17 10:25:40 +01:00
utilities.py Move @_scan_running decorator out of class and tidy as suggested in review 2025-04-10 22:14:56 +01:00