Skip to content

Commit

Permalink
temp: stop
Browse files Browse the repository at this point in the history
  • Loading branch information
jfzhou5 committed Nov 22, 2023
1 parent 6342f90 commit a9ea8f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bot/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ export namespace Runtime {
try {
let hasStarted = false
const curHour = new Date().getUTCHours() + 8
// only run at UTC+8 14:00
// only run at UTC+8 15:00
if (curHour === 15) {
if (!hasStarted) {
logger.info("start to run...")
await checkBalanceSufficient(
runtime.wallet.address,
ethers.utils.parseEther("0.2").toString()
)
await worker()
// await worker()
heartBeat()
logger.info(
`don't worry, still alive... interval ${
Expand Down

0 comments on commit a9ea8f3

Please sign in to comment.