Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunOnFluxBot committed Nov 22, 2023
1 parent c4729f3 commit 94a19bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/appsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -9979,7 +9979,7 @@ async function syncthingApps() {
log.info('SyncthingApps first run');
// eslint-disable-next-line no-await-in-loop
const folderReset = await syncthingService.dbRevert(id);
log.info(`Reset SyncthingApps ${appId} result: ${folderReset}`);
log.info(`Reset SyncthingApps ${appId} result: ${JSON.stringify(folderReset)}`);
receiveOnlySyncthingAppsCache.set(appId, 6);
folderSyncType = 'sendreceive';
} else if (receiveOnlySyncthingAppsCache.has(appId)) {
Expand All @@ -9989,7 +9989,7 @@ async function syncthingApps() {
if (numberOfRuns === 4) {
// eslint-disable-next-line no-await-in-loop
const folderReset = await syncthingService.dbRevert(id);
log.info(`Reset SyncthingApps ${appId} result: ${folderReset}`);
log.info(`Reset SyncthingApps ${appId} result: ${JSON.stringify(folderReset)}`);
}
if (numberOfRuns === 5) {
folderSyncType = 'sendreceive';
Expand Down Expand Up @@ -10065,7 +10065,7 @@ async function syncthingApps() {
log.info('SyncthingApps first run');
// eslint-disable-next-line no-await-in-loop
const folderReset = await syncthingService.dbRevert(id);
log.info(`Reset SyncthingApps app ${appId} result: ${folderReset}`);
log.info(`Reset SyncthingApps app ${appId} result: ${JSON.stringify(folderReset)}`);
receiveOnlySyncthingAppsCache.set(appId, 6);
folderSyncType = 'sendreceive';
} else if (receiveOnlySyncthingAppsCache.has(appId)) {
Expand All @@ -10075,7 +10075,7 @@ async function syncthingApps() {
if (numberOfRuns === 4) {
// eslint-disable-next-line no-await-in-loop
const folderReset = await syncthingService.dbRevert(id);
log.info(`Reset SyncthingApps app ${appId} result: ${folderReset}`);
log.info(`Reset SyncthingApps app ${appId} result: ${JSON.stringify(folderReset)}`);
}
if (numberOfRuns === 5) {
folderSyncType = 'sendreceive';
Expand Down

0 comments on commit 94a19bd

Please sign in to comment.