feat(server): use lazy swappable database
This commit is contained in:
parent
959b022cf9
commit
0524eda5d2
5 changed files with 49 additions and 62 deletions
|
|
@ -135,7 +135,7 @@ class GtfsParser(
|
|||
.forEach { fd ->
|
||||
log.info("parsing stop times for ${fd.parent}...")
|
||||
parseStopTimes(fd, trips) { seq ->
|
||||
seq.chunked(10000)
|
||||
seq.chunked(1000000)
|
||||
.forEach { emit(GtfsData.StopTimeChunk(it)) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue