[web] Disable clustering (#1743)
This commit is contained in:
commit
2d13c1ebb5
1 changed files with 7 additions and 1 deletions
|
@ -166,13 +166,19 @@ class MachineLearningService {
|
|||
await this.syncFiles(syncContext);
|
||||
}
|
||||
|
||||
// TODO-ML(MR): Forced disable clustering. It doesn't currently work,
|
||||
// need to finalize it before we move out of beta.
|
||||
//
|
||||
// > Error: Failed to execute 'transferToImageBitmap' on
|
||||
// > 'OffscreenCanvas': ImageBitmap construction failed
|
||||
/*
|
||||
if (
|
||||
syncContext.outOfSyncFiles.length <= 0 ||
|
||||
// TODO-ML(MR): Forced disable.
|
||||
(syncContext.nSyncedFiles === batchSize && Math.random() < 0)
|
||||
) {
|
||||
await this.syncIndex(syncContext);
|
||||
}
|
||||
*/
|
||||
|
||||
const mlSyncResult: MLSyncResult = {
|
||||
nOutOfSyncFiles: syncContext.outOfSyncFiles.length,
|
||||
|
|
Loading…
Add table
Reference in a new issue