On dashboard or email location change, reconfigure immediately
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user