(phase string, processed int64, total int64)
| 74 | } |
| 75 | |
| 76 | func (r *ReindexService) updateProgress(phase string, processed int64, total int64) { |
| 77 | r.mu.Lock() |
| 78 | defer r.mu.Unlock() |
| 79 | r.progress.Phase = phase |
| 80 | r.progress.ProcessedRecords = processed |
| 81 | r.progress.TotalRecords = total |
| 82 | } |
| 83 | |
| 84 | func (r *ReindexService) addError(err string) { |
| 85 | r.mu.Lock() |
no test coverage detected