diff --git a/apps/client/src/features/editor/components/drawio/drawio-view.tsx b/apps/client/src/features/editor/components/drawio/drawio-view.tsx index 00531afa..1b1ad95c 100644 --- a/apps/client/src/features/editor/components/drawio/drawio-view.tsx +++ b/apps/client/src/features/editor/components/drawio/drawio-view.tsx @@ -112,7 +112,7 @@ export default function DrawioView(props: NodeViewProps) { if (isDirtyRef.current && !isSavingRef.current && drawioRef.current) { drawioRef.current.exportDiagram({ format: "xmlsvg" }); } - }, 60_000); + }, 30_000); return () => clearInterval(interval); }, [opened]); diff --git a/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx b/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx index add0ad0c..0673f853 100644 --- a/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx +++ b/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx @@ -162,7 +162,7 @@ export default function ExcalidrawView(props: NodeViewProps) { if (isDirtyRef.current && !isSavingRef.current) { saveData(false).catch(() => {}); } - }, 60_000); + }, 30_000); return () => clearInterval(interval); }, [opened, saveData]);