Reduce autosave interval – only runs if code is dirty anyway

This commit is contained in:
Kristóf Tóth 2018-03-04 14:27:08 +01:00
parent 9d80fc44fc
commit 1ed11ed783

View File

@ -19,7 +19,7 @@ import { ProcessManagerService } from '../services/processmanager.service';
const modelist = brace.acequire('ace/ext/modelist'); const modelist = brace.acequire('ace/ext/modelist');
const defaultSourceCode = 'Oops! Something went wrong :('; const defaultSourceCode = 'Oops! Something went wrong :(';
const autosave_interval = 10000; const autosave_interval = 2000;
@Component({ @Component({
selector: 'app-webide', selector: 'app-webide',