Skip to content

Commit

Permalink
fix: fix authenticate retry (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Jan 8, 2019
1 parent 19fc1a6 commit ceaa7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = app => {
database[AUTH_RETRIES] += 1;
app.logger.warn(`Sequelize Error: ${e.message}, sleep 2 seconds to retry...`);
await sleep(2000);
await authenticate(app, database);
await authenticate(database);
}
}
};

0 comments on commit ceaa7de

Please sign in to comment.