mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-11 15:11:41 +00:00
Further speed & stability improvements when loading sig ref datasets #126
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import logging
|
||||
from time import sleep
|
||||
|
||||
from pyhamtools.locator import latlong_to_locator
|
||||
|
||||
@@ -38,4 +39,8 @@ class IOTA(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
|
||||
|
||||
Reference in New Issue
Block a user