Skip to content

Commit

Permalink
Add a log before force resync happen (#3677)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-g authored Aug 11, 2022
1 parent 47f55f4 commit 8fb6084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions creator-node/src/services/sync/secondarySyncFromPrimary.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const handleSyncFromPrimary = async ({
try {
let localMaxClockVal
if (forceResync) {
genericLogger.warn(`${logPrefix} Forcing resync..`)
await DBManager.deleteAllCNodeUserDataFromDB({ lookupWallet: wallet })
localMaxClockVal = -1
} else {
Expand Down

0 comments on commit 8fb6084

Please sign in to comment.