Further speed & stability improvements when loading sig ref datasets #126

This commit is contained in:
Ian Renton
2026-08-10 21:40:07 +01:00
parent 0d2e1369b6
commit 3df861189e
18 changed files with 97 additions and 7 deletions
+6
View File
@@ -1,3 +1,5 @@
from time import sleep
from pyhamtools.locator import locator_to_latlong
from data.sig_ref import SIGRef
@@ -34,4 +36,8 @@ class LLOTA(FileDownloadSIGRefDataProvider):
if self._stop_event.is_set():
break
# Very short pause. This will extend the time to handle sig refs by a few seconds but will ensure some time
# is available for other threads e.g. the web server.
sleep(0.001)
return new_data