fw: AccessStrategy extends measurements lifetime
refs #2452
Change-Id: I79ffcc65cb222854c163c5df339bb1061785a518
diff --git a/daemon/fw/access-strategy.cpp b/daemon/fw/access-strategy.cpp
index 97766e1..3c1f01a 100644
--- a/daemon/fw/access-strategy.cpp
+++ b/daemon/fw/access-strategy.cpp
@@ -264,6 +264,9 @@
BOOST_ASSERT(me != nullptr);
}
+ static const time::nanoseconds ME_LIFETIME = time::seconds(8);
+ this->getMeasurements().extendLifetime(*me, ME_LIFETIME);
+
return me->getOrCreateStrategyInfo<MtInfo>();
}