timetable-extension #1
@ -52,7 +52,10 @@ func runCifFullDownload(cfg *helpers.Configuration) error {
|
|||||||
parsed = nil
|
parsed = nil
|
||||||
|
|
||||||
// Create Indexes
|
// Create Indexes
|
||||||
dbAccess.CreateTimetableIndexes()
|
err = dbAccess.CreateTimetableIndexes()
|
||||||
|
if err != nil {
|
||||||
|
log.Warn("Error creating timetable indexes, degraded performance", zap.Error(err))
|
||||||
|
}
|
||||||
|
|
||||||
postTime := time.Now()
|
postTime := time.Now()
|
||||||
updateDuration := postTime.Sub(preTime)
|
updateDuration := postTime.Sub(preTime)
|
||||||
|
Loading…
Reference in New Issue
Block a user