From 15a40cba80472eee5800997625ec41a967982f44 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Fri, 1 Sep 2017 14:02:47 +0200 Subject: [PATCH] Split treatments into smaller packages before broadcasting --- .../plugins/NSClientInternal/broadcasts/BroadcastTreatment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/broadcasts/BroadcastTreatment.java b/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/broadcasts/BroadcastTreatment.java index 0d998a2bcd..99644c7ba3 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/broadcasts/BroadcastTreatment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/broadcasts/BroadcastTreatment.java @@ -183,7 +183,7 @@ public class BroadcastTreatment { ret.add(newarr); } newarr = new JSONArray(); - count = 200; + count = 100; } newarr.put(array.get(i)); --count;