From c36833ad5bc02ca6c9d330217e26d69911d93657 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:27:09 +0000 Subject: [PATCH] 30 seconds --- .../src/features/editor/components/drawio/drawio-view.tsx | 2 +- .../features/editor/components/excalidraw/excalidraw-view.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);