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