Watcher: Never give up on extensions (#4585)

This commit is contained in:
Mitchell Grenier 2018-06-19 22:22:38 +01:00 committed by Teddy Reed
parent c302b8c800
commit ed186e0961

View File

@ -293,13 +293,6 @@ void WatcherRunner::watchExtensions() {
extension_restarts_[extension.first] = 0;
}
}
// If any extension creations failed, stop managing them.
for (auto& extension : extension_restarts_) {
if (extension.second > 3) {
watcher.removeExtensionPath(extension.first);
extension.second = 0;
}
}
}
size_t WatcherRunner::delayedTime() const {