mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
Watcher: Never give up on extensions (#4585)
This commit is contained in:
parent
c302b8c800
commit
ed186e0961
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user