mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 16:15:43 -04:00
added optional delay to check files after download in order to prevent skiping recently downloaded files
This commit is contained in:
parent
0efc6b00a1
commit
10bee9f26b
9 changed files with 18 additions and 14 deletions
|
@ -114,7 +114,7 @@ void p3FileDatabase::setSharedDirectories(const std::list<SharedDirInfo>& shared
|
|||
RS_STACK_MUTEX(mFLSMtx) ;
|
||||
|
||||
mLocalSharedDirs->setSharedDirectoryList(shared_dirs) ;
|
||||
mLocalDirWatcher->forceUpdate();
|
||||
mLocalDirWatcher->forceUpdate(false);
|
||||
|
||||
}
|
||||
|
||||
|
@ -1231,9 +1231,9 @@ uint32_t p3FileDatabase::getType(void *ref,FileSearchFlags flags) const
|
|||
}
|
||||
}
|
||||
|
||||
void p3FileDatabase::forceDirectoryCheck() // Force re-sweep the directories and see what's changed
|
||||
void p3FileDatabase::forceDirectoryCheck(bool add_safe_delay) // Force re-sweep the directories and see what's changed
|
||||
{
|
||||
mLocalDirWatcher->forceUpdate();
|
||||
mLocalDirWatcher->forceUpdate(add_safe_delay);
|
||||
}
|
||||
void p3FileDatabase::togglePauseHashingProcess()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue