From b80e55d4e32bca40a15336a1ef01617b1aab387f Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 15 Nov 2017 18:31:19 -0800 Subject: [PATCH] limit bulk uploading to 5 heartbeats per request --- wakatime/offlinequeue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wakatime/offlinequeue.py b/wakatime/offlinequeue.py index 8d5656d..8319b1b 100644 --- a/wakatime/offlinequeue.py +++ b/wakatime/offlinequeue.py @@ -104,7 +104,7 @@ class Queue(object): def pop_many(self, limit=None): if limit is None: - limit = 100 + limit = 5 heartbeats = []