fix(core): throttle sync progress update (#10278)

This commit is contained in:
EYHN
2025-02-19 07:45:46 +00:00
parent 60a9572c88
commit 53cada4640

View File

@@ -87,7 +87,7 @@ const useSyncEngineSyncProgress = (meta: WorkspaceMetadata) => {
const engineState = useLiveData(
useMemo(() => {
return workspace
? LiveData.from(workspace.engine.doc.state$, null).throttleTime(100)
? LiveData.from(workspace.engine.doc.state$, null).throttleTime(500)
: null;
}, [workspace])
);