set delay between directory sweep to 60 secs and a-synced sweeps for different friends. Set drop time to 600 for un-answered dir sync requests

This commit is contained in:
csoler 2016-11-05 15:30:07 +01:00
parent ffcf44b3fe
commit 1e919a141c
4 changed files with 19 additions and 9 deletions

View file

@ -194,8 +194,15 @@ public:
*/
void checkSave() ;
/*!
* \brief lastSweepTime
* returns the last time a sweep has been done over the directory in order to check update TS.
* \return
*/
time_t& lastSweepTime() { return mLastSweepTime ; }
private:
time_t mLastSavedTime ;
time_t mLastSweepTime ;
bool mChanged ;
std::string mFileName;
};