()
| 301 | .forEach(x => this.observablesFilters.set(x.id, x)); |
| 302 | } |
| 303 | private async StartResourceMonitor() { |
| 304 | this.systemResourcesMonitor = |
| 305 | await new SystemResourcesMonitorFactory(ARCHIVE_FOLDER, 10000).Create(); |
| 306 | this.systemResourcesMonitor.OnUpdate.On(x => this.broadcaster.SystemMonitorUpdate(x)); |
| 307 | |
| 308 | this.SetupPluginManagerController(); |
| 309 | |
| 310 | this.systemResourcesMonitor.Start(); |
| 311 | } |
| 312 | private SetupPluginManagerController() { |
| 313 | const settings = this.storage.FetchSettings(); |
| 314 | if (settings.storageQuota > 0) { |
no test coverage detected