mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 05:29:08 +08:00
fix(mobile): disable blob sync on mobile (#9200)
This commit is contained in:
@@ -37,7 +37,10 @@ export class WorkspaceEngine extends Entity<{
|
||||
this.eventBus.emit(WorkspaceEngineBeforeStart, this);
|
||||
this.doc.start();
|
||||
this.awareness.connect(this.workspaceService.workspace.awareness);
|
||||
this.blob.start();
|
||||
if (!BUILD_CONFIG.isMobileEdition) {
|
||||
// currently, blob synchronization consumes a lot of memory and is temporarily disabled on mobile devices.
|
||||
this.blob.start();
|
||||
}
|
||||
}
|
||||
|
||||
canGracefulStop() {
|
||||
|
||||
Reference in New Issue
Block a user