Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: remove workspaces pool

MingLiang Wangcdf07fd7c2ec
diff --git a/packages/data-center/src/datacenter.ts b/packages/data-center/src/datacenter.ts
index 64ead6cfd9..76499b11e5 100644
--- a/packages/data-center/src/datacenter.ts
+++ b/packages/data-center/src/datacenter.ts
@@ -123,7 +123,7 @@ export class DataCenter {
const workspaceInfo = this._workspaceUnitCollection.find(workspaceId);
assert(workspaceInfo, 'Workspace not found');
return (
- this._workspaceInstances.get(workspaceId) ||
+ // this._workspaceInstances.get(workspaceId) ||
createBlocksuiteWorkspace(workspaceId)
);
}