On dashboard or email location change, reconfigure immediately

This commit is contained in:
Girish Ramakrishnan
2023-08-21 18:18:03 +05:30
parent 9e093db7d8
commit 79af6c1a68
6 changed files with 36 additions and 36 deletions

View File

@@ -44,7 +44,7 @@ function scheduleTask(appId, taskId, options, onFinished) {
if (!gInitialized) initializeSync();
if (appId in gActiveTasks) {
return onFinished(new BoxError(BoxError.CONFLICT, `Task for %s is already active: ${appId}`));
return onFinished(new BoxError(BoxError.CONFLICT, `Task for ${appId} is already active`));
}
if (Object.keys(gActiveTasks).length >= TASK_CONCURRENCY) {