From d34ea6822bbc6b2d73a746b1b8ed7f1685f547f2 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 11 Sep 2019 17:42:14 +0200 Subject: [PATCH] fix auto sync --- .../workbench/contrib/userData/common/userData.contribution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/userData/common/userData.contribution.ts b/src/vs/workbench/contrib/userData/common/userData.contribution.ts index aa60078099bca..83e74300108ff 100644 --- a/src/vs/workbench/contrib/userData/common/userData.contribution.ts +++ b/src/vs/workbench/contrib/userData/common/userData.contribution.ts @@ -44,11 +44,12 @@ class AutoSyncUserData extends Disposable implements IWorkbenchContribution { @IUserDataSyncService private readonly userDataSyncService: IUserDataSyncService, ) { super(); + this.loopAutoSync(); } private loopAutoSync(): void { this.autoSync() - .then(() => timeout(1000 * 60 * 5)) // every five minutes + .then(() => timeout(1000 * 10)) // every five minutes .then(() => this.loopAutoSync()); }