update limit since it looks safe now

This commit is contained in:
Daniel Mason 2021-09-10 18:24:30 +12:00
parent 7b654c0bf0
commit 635b4e6c24
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -64,8 +64,8 @@ func parseCsvRow(data string) {
updatedLocations.Locations = append(updatedLocations.Locations, newRow)
}
if len(updatedLocations.Locations) > 20 {
log.Print("Not displaying >20 locations!")
if len(updatedLocations.Locations) > 40 {
log.Print("Not displaying > 40 locations!")
updatedLocations = UpdatedLocations{}
}
}