Skip to content

Commit

Permalink
fixes for autoretry
Browse files Browse the repository at this point in the history
  • Loading branch information
squallstar committed Jun 8, 2023
1 parent 8dcc664 commit 61dc467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libs/agent-runner.js
Expand Up @@ -558,11 +558,11 @@ agent.prototype.runPushOperation = async function runPushOperation(operation) {
log.critical(`The sync operation has failed ${MAX_RETRIES} times. Please check your internet connection and try again later.`);
}

log.info(`Retrying in 5 minutes (retry ${retry} of ${MAX_RETRIES})...`);
log.info(`Retrying in 1 minute (retry ${retry} of ${MAX_RETRIES})...`);

pendingCommit = setTimeout(() => {
scheduleSync();
}, 1000 * 1 * 5);
}, 1000 * 60 * 1);
});
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "fliplet-agent",
"version": "2.0.2",
"version": "2.0.3",
"description": "Fliplet Agent (Data Integration Service) is a command line utility to synchronize data to and from Fliplet Servers.",
"main": "fliplet-agent.js",
"scripts": {
Expand Down

0 comments on commit 61dc467

Please sign in to comment.