Adding http to keep-alive

This commit is contained in:
Magnus Persson 2022-05-09 19:18:44 +02:00
parent 43e2d165f5
commit 095c1dc6a7

View File

@ -108,8 +108,8 @@ void PushIntervalTracker::save() {
void PushTarget::sendAll(float angle, float gravitySG, float corrGravitySG,
float tempC, float runTime) {
printHeap("PUSH");
_http.setReuse(false);
_httpSecure.setReuse(false);
_http.setReuse(true);
_httpSecure.setReuse(true);
TemplatingEngine engine;
engine.initialize(angle, gravitySG, corrGravitySG, tempC, runTime);