Skip to content

Commit

Permalink
force liquidation info
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Jun 25, 2024
1 parent 1f2bfb8 commit 0588695
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,8 @@ const scheduleLiquidation = async _ => {
console.log(`liquidations complete ${end - start}s`)
});

console.log('hello');
console.log(process.env.WEBHOOK_TOKEN);

// posts liquidation info to discord
schedule.scheduleJob('1 * * * *', async _ => {
schedule.scheduleJob('20 * * * *', async _ => {
console.log('logging liquidation info');
const { manager, wallet, provider } = await getVaultManager();
const EUROs = await getContract(network.name, 'EUROs');
Expand All @@ -112,7 +109,7 @@ const scheduleLiquidation = async _ => {

console.log(content)

await postToDiscord(content);
// await postToDiscord(content);
});
};

Expand Down

0 comments on commit 0588695

Please sign in to comment.