Increase the waiting time for refreshing objects

Increase the waiting time for refreshing the objects as
event for link local object comes late by sec or two.

Resolves openbmc/openbmc#2644

Change-Id: I5c767877f437c8538e9af7efde8f04ad088458ab
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager_main.cpp b/network_manager_main.cpp
index 3828c9b..a428bce 100644
--- a/network_manager_main.cpp
+++ b/network_manager_main.cpp
@@ -26,9 +26,12 @@
 /** @brief refresh the network objects. */
 void refreshObjects()
 {
+    using namespace phosphor::logging;
     if (manager)
     {
+        log<level::INFO>("Refreshing the objects.");
         manager->createChildObjects();
+        log<level::INFO>("Refreshing complete.");
     }
 }
 
diff --git a/types.hpp b/types.hpp
index 3fcbe2e..e650d3c 100644
--- a/types.hpp
+++ b/types.hpp
@@ -23,7 +23,7 @@
 
 // refresh the objets after five seconds as network
 // configuration takes 3-4 sec after systemd-networkd restart.
-constexpr auto refreshTimeout = restartTimeout + 5s;
+constexpr auto refreshTimeout = restartTimeout + 7s;
 
 namespace systemd
 {