fix: Fix processing for vector attributres table
This commit is contained in:
@@ -178,11 +178,12 @@ func (a *App) ReprocessDataset(ctx context.Context, id uuid.UUID) (domain.Datase
|
||||
return a.datasets.Reprocess(ctx, id)
|
||||
}
|
||||
|
||||
// ReprocessAllDatasets re-enqueues the processing job for every dataset,
|
||||
// restarting each one's asynchronous pipeline. It returns how many jobs were
|
||||
// enqueued and a per-dataset map of any failures.
|
||||
func (a *App) ReprocessAllDatasets(ctx context.Context) (int, map[uuid.UUID]error, error) {
|
||||
return a.datasets.ReprocessAll(ctx)
|
||||
// ReprocessAllDatasets re-enqueues the processing job for every dataset
|
||||
// matching fileType (nil matches every file type), restarting each one's
|
||||
// asynchronous pipeline. It returns how many jobs were enqueued and a
|
||||
// per-dataset map of any failures.
|
||||
func (a *App) ReprocessAllDatasets(ctx context.Context, fileType *domain.FileType) (int, map[uuid.UUID]error, error) {
|
||||
return a.datasets.ReprocessAll(ctx, fileType)
|
||||
}
|
||||
|
||||
// Close releases all resources in reverse order of acquisition.
|
||||
|
||||
Reference in New Issue
Block a user