Skip to content

Commit

Permalink
Only send 25 heartbeats per request
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 8, 2024
1 parent 0d06d71 commit 73c0892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/WakaTimeCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class WakaTimeCore {
return;
}

const heartbeats = (await (await this.db()).getAll(config.queueName, undefined, 50)) as
const heartbeats = (await (await this.db()).getAll(config.queueName, undefined, 25)) as
| Heartbeat[]
| undefined;
if (!heartbeats || heartbeats.length === 0) return;
Expand Down

0 comments on commit 73c0892

Please sign in to comment.