Skip to content

Commit

Permalink
attempt more regular liquidations
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Nov 13, 2023
1 parent e9fceec commit cfeee20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const scheduleLiquidation = async _ => {
const manager = await getContract(network.name, 'SmartVaultManager');
let tokenId = 1;
let running = false;
schedule.scheduleJob('* * * * *', async _ => {
schedule.scheduleJob('*/15 * * * * *', async _ => {
if (!running) {
running = true;
const provider = new ethers.getDefaultProvider(network.rpc)
Expand Down

0 comments on commit cfeee20

Please sign in to comment.