From ceb3da0bdf59e1ffd60856d3441bcc52b6ddb44a Mon Sep 17 00:00:00 2001 From: Scott Leibrand Date: Sun, 14 Aug 2016 20:15:30 -0700 Subject: [PATCH] don't use merge-pumphistory-long --- lib/templates/refresh-loops.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/refresh-loops.json b/lib/templates/refresh-loops.json index 495aacff3..0a432cffe 100644 --- a/lib/templates/refresh-loops.json +++ b/lib/templates/refresh-loops.json @@ -664,7 +664,7 @@ }, { "pump-loop": { - "command": "! bash -c \"sleep $[ ( $RANDOM / 2048 ) ]s; until(echo Starting pump-loop at `date`: && openaps wait-for-silence && openaps refresh-old-pumphistory && openaps refresh-old-pumphistory-24h && openaps refresh-old-profile && openaps refresh-temp-and-enact && openaps refresh-pumphistory-and-enact && openaps merge-pumphistory-long && openaps refresh-profile && openaps refresh-pumphistory-24h && echo Completed pump-loop at `date` && echo); do echo Error, retrying && [[ $RANDOM > 30000 ]] && openaps wait-for-long-silence && openaps mmtune; sleep 5; done\"" + "command": "! bash -c \"sleep $[ ( $RANDOM / 2048 ) ]s; until(echo Starting pump-loop at `date`: && openaps wait-for-silence && openaps refresh-old-pumphistory && openaps refresh-old-pumphistory-24h && openaps refresh-old-profile && openaps refresh-temp-and-enact && openaps refresh-pumphistory-and-enact && openaps refresh-profile && openaps refresh-pumphistory-24h && echo Completed pump-loop at `date` && echo); do echo Error, retrying && [[ $RANDOM > 30000 ]] && openaps wait-for-long-silence && openaps mmtune; sleep 5; done\"" }, "type": "alias", "name": "pump-loop"