Revert "feat(core): run indexer in worker (#7295)"

This reverts commit c62d79ab14.
This commit is contained in:
forehalo
2024-07-03 10:16:27 +08:00
parent fc729d6a32
commit f0d127fa29
13 changed files with 352 additions and 691 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import { difference } from 'lodash-es';
import { LiveData } from '../../livedata';
import type { Memento } from '../../storage';
import { MANUALLY_STOP } from '../../utils';
import { BlobStorageOverCapacity } from './error';
const logger = new DebugLogger('affine:blob-engine');
@@ -71,7 +70,7 @@ export class BlobEngine {
}
stop() {
this.abort?.abort(MANUALLY_STOP);
this.abort?.abort();
this.abort = null;
}