dispatcher

Change-Id: I5ff25afcba3f03249ae32cf9c656f69ecc38d424
diff --git a/src/sync-core.hpp b/src/sync-core.hpp
index 6679244..f41bc0c 100644
--- a/src/sync-core.hpp
+++ b/src/sync-core.hpp
@@ -123,7 +123,7 @@
            ,
            const StateMsgCallback& callback // callback when state change is detected
            ,
-           long syncInterestInterval = -1);
+           time::seconds syncInterestInterval = time::seconds(0));
   ~SyncCore();
 
   void updateLocalState(sqlite3_int64);
@@ -214,7 +214,7 @@
 
   IntervalGeneratorPtr m_recoverWaitGenerator;
 
-  long m_syncInterestInterval;
+  time::seconds m_syncInterestInterval;
   KeyChain m_keyChain;
   const RegisteredPrefixId* m_registeredPrefixId;
 };