issues
search
eyeonus
/
Trade-Dangerous
Mozilla Public License 2.0
96
stars
31
forks
source link
fix: eddblink retrieval (progress, bandwidth)
#144
Closed
kfsone
closed
2 months ago
kfsone
commented
2 months ago
reduce the amount of data transferred to determine if there is new eddblink data, previously we were downloading each file twice roughly,
capture the uncompressed file-length during the probe, so we can show the user an accurate progres bar
To test:
run
trade.py import -P eddblink
, observe that a progress bar renders during download of listings.csv
remove one or more data\eddb*.csv file and rerun eddblink import to confirm it sees the files as stale and redownloads the files.
To test:
trade.py import -P eddblink
, observe that a progress bar renders during download of listings.csv