fix(server/gtfs): chunk stop times into smaller blocks
This commit is contained in:
parent
91d4fe25a6
commit
c9aeeb99c1
2 changed files with 9 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ class GtfsParser(
|
|||
.forEach { fd ->
|
||||
log.info("parsing stop times for ${fd.parent}...")
|
||||
parseStopTimes(fd, trips) { seq ->
|
||||
seq.chunked(1000000)
|
||||
seq.chunked(10000)
|
||||
.forEach { emit(GtfsData.StopTimeChunk(it)) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue