Only send 25 heartbeats per request
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user