From 1ed11ed783bcadd3ea9a807b822da763a1e2d7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sun, 4 Mar 2018 14:27:08 +0100 Subject: [PATCH] =?UTF-8?q?Reduce=20autosave=20interval=20=E2=80=93=20only?= =?UTF-8?q?=20runs=20if=20code=20is=20dirty=20anyway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/webide/webide.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/webide/webide.component.ts b/src/app/webide/webide.component.ts index 6a6498b..4adc996 100644 --- a/src/app/webide/webide.component.ts +++ b/src/app/webide/webide.component.ts @@ -19,7 +19,7 @@ import { ProcessManagerService } from '../services/processmanager.service'; const modelist = brace.acequire('ace/ext/modelist'); const defaultSourceCode = 'Oops! Something went wrong :('; -const autosave_interval = 10000; +const autosave_interval = 2000; @Component({ selector: 'app-webide',