You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2019/03/08 17:24:04 UTC

[nifi-minifi-cpp] branch master updated: MINIFICPP-760: Change default units of wait period

This is an automated email from the ASF dual-hosted git repository.

aldrin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a03a9e  MINIFICPP-760: Change default units of wait period
5a03a9e is described below

commit 5a03a9e3b5e92c4fce16e4a93bf010e850a80b78
Author: Marc Parisi <ph...@apache.org>
AuthorDate: Fri Mar 8 12:06:15 2019 -0500

    MINIFICPP-760: Change default units of wait period
    
    This closes #505.
    
    Signed-off-by: Aldrin Piri <al...@apache.org>
---
 libminifi/src/controllers/LinuxPowerManagementService.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libminifi/src/controllers/LinuxPowerManagementService.cpp b/libminifi/src/controllers/LinuxPowerManagementService.cpp
index 26f82c8..e84a19e 100644
--- a/libminifi/src/controllers/LinuxPowerManagementService.cpp
+++ b/libminifi/src/controllers/LinuxPowerManagementService.cpp
@@ -46,7 +46,7 @@ core::Property LinuxPowerManagerService::TriggerThreshold(
 
 core::Property LinuxPowerManagerService::WaitPeriod(
     core::PropertyBuilder::createProperty("Wait Period")->withDescription("Decay between checking threshold and determining if a reduction is needed")->isRequired(true)
-        ->withDefaultValue<core::TimePeriodValue>("100 msec")->build());
+        ->withDefaultValue<core::TimePeriodValue>("100 ms")->build());
 
 core::Property LinuxPowerManagerService::LowBatteryThreshold(
     core::PropertyBuilder::createProperty("Low Battery Threshold")->withDescription("Battery threshold before which we will aggressively reduce. Should be a number from 1-100")->isRequired(true)