Files
bmspy/tests
tim 953f8a6482 Read each device in a background thread
A failed JBD read retried forever inside a client request and blocked every other device and client. The server now starts one polling thread for each device, and a request returns the last snapshot. Only the first request after startup waits, until each device completes one read attempt.

One lock makes sure that only one Bluetooth collection runs at a time. A serial BMS retries a failed read after 1 second and keeps its last snapshot for 30 seconds. An error in a collection does not end the polling of that device.
2026-10-10 09:03:34 +02:00
..
2026-05-02 23:12:29 +02:00
2026-05-02 23:12:29 +02:00
2026-05-02 23:12:29 +02:00
2026-05-02 23:12:29 +02:00