removed annoying "sync update in progress" toast message

This commit is contained in:
zadam
2021-07-26 21:28:45 +02:00
parent 3a78a75afc
commit f50084dc1b
3 changed files with 5 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ const log = require('../../services/log');
const syncOptions = require('../../services/sync_options');
const dateUtils = require('../../services/date_utils');
const utils = require('../../services/utils');
const ws = require('../../services/ws');
async function testSync() {
try {
@@ -60,6 +61,9 @@ function checkSync() {
function syncNow() {
log.info("Received request to trigger sync now.");
// when explicitly asked for set in progress status immediatelly for faster user feedback
ws.syncPullInProgress();
return syncService.sync();
}