CollectionWatcher: Resume collection scan when adding directory
This commit is contained in:
parent
7d96fe8b65
commit
558a087e37
|
@ -374,6 +374,8 @@ SubdirectoryList CollectionWatcher::ScanTransaction::GetAllSubdirs() {
|
|||
|
||||
void CollectionWatcher::AddDirectory(const Directory &dir, const SubdirectoryList &subdirs) {
|
||||
|
||||
stop_requested_ = false;
|
||||
|
||||
watched_dirs_[dir.id] = dir;
|
||||
|
||||
if (subdirs.isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue