diff --git a/core/config/config.cc b/core/config/config.cc index fdffbfc..f7a69b7 100644 --- a/core/config/config.cc +++ b/core/config/config.cc @@ -702,7 +702,7 @@ ConfigComponent::Impl::periodicRegistrationRefresh() mainloop->yield(chrono::milliseconds(500)); } else { uint next_iteration_in_sec = getConfigurationWithDefault( - 20, + 600, "Config Component", "Refresh config update registration time interval" ); diff --git a/nodes/orchestration/package/watchdog/watchdog b/nodes/orchestration/package/watchdog/watchdog index 546069f..9cecca7 100755 --- a/nodes/orchestration/package/watchdog/watchdog +++ b/nodes/orchestration/package/watchdog/watchdog @@ -97,11 +97,17 @@ else fi fi +alpine_pid() +{ + ps -ef | grep $1 | grep -v grep | awk '{printf $1 " "}' +} + + ls -l /etc/ | grep release > /dev/null 2>&1 retval=$? if [ $retval -eq 0 ]; then if [ ! -z "$(cat /etc/*release | grep alpine)" ]; then - pidof_cmd="pidof" + pidof_cmd="alpine_pid" ARCH="alpine" echo "alpine" >${FILESYSTEM_PATH}/watchdog/platform fi