sync: Also import hints during speed sync
This commit is contained in:
parent
1def2c97c1
commit
6223d2be36
@ -56,10 +56,12 @@ func SpeedySyncDeep(i Importer) (errs map[string][]string) {
|
|||||||
log.Printf("Speedy synchronization in progress: %d/255 - doing Theme %q, Exercice %q: %q\n", DeepSyncProgress, theme.Name, exercice.Title, exercice.Path)
|
log.Printf("Speedy synchronization in progress: %d/255 - doing Theme %q, Exercice %q: %q\n", DeepSyncProgress, theme.Name, exercice.Title, exercice.Path)
|
||||||
|
|
||||||
DeepSyncProgress = 3 + uint8(tid)*themeStep + uint8(eid)*exerciceStep
|
DeepSyncProgress = 3 + uint8(tid)*themeStep + uint8(eid)*exerciceStep
|
||||||
|
flagsBindings, ferrs := SyncExerciceFlags(i, exercice)
|
||||||
|
errs[theme.Name] = append(errs[theme.Name], ferrs...)
|
||||||
|
|
||||||
DeepSyncProgress += exerciceStep / 2
|
DeepSyncProgress += exerciceStep / 2
|
||||||
_, ferrs := SyncExerciceFlags(i, exercice)
|
_, herrs := SyncExerciceHints(i, exercice, flagsBindings)
|
||||||
errs[theme.Name] = append(errs[theme.Name], ferrs...)
|
errs[theme.Name] = append(errs[theme.Name], herrs...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user