Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ikasoba committed Nov 7, 2023
1 parent b6e37a9 commit a45c432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const appScheduler = new Scheduler(
MINUTE_PER_REQUEST,
)
.defineEvent("healthy")
.defineTask("request", createRequester(pinger.fetch));
.defineTask("request", createRequester(pinger.fetch.bind(pinger)));

pinger.onStatusHealthy.add(() => {
appScheduler.dispatch("healthy");
Expand Down

0 comments on commit a45c432

Please sign in to comment.