hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

HDX exports are having same size for each export #273

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

image

kshitijrajsharma commented 2 years ago

Fixed ! It reads from the headers of URL itself , it will be not instant, may lag of couple of mili seconds but it will require some UI changes later on ! Will solve the problem for now ! When working on refactoring , database scheme should be changed and it should store file size as array for hdx exports [ ] and display from table instead of reading from URL , will reduce the network traffic . cc: @ramyaragupathy image