better network monitoring

This commit is contained in:
Matt Hill
2021-07-01 16:18:49 -06:00
committed by Aiden McClelland
parent f0e108f87b
commit 330d5a08af
14 changed files with 295 additions and 244 deletions

View File

@@ -1,11 +1,10 @@
import { Subject, Observable } from 'rxjs'
import { Http, Source, Update, Operation, Revision } from 'patch-db-client'
import { Http, Update, Operation, Revision } from 'patch-db-client'
import { RR } from './api-types'
import { DataModel } from 'src/app/models/patch-db/data-model'
import { filter } from 'rxjs/operators'
import * as uuid from 'uuid'
export abstract class ApiService implements Source<DataModel>, Http<DataModel> {
export abstract class ApiService implements Http<DataModel> {
protected readonly sync = new Subject<Update<DataModel>>()
private syncing = true

View File

@@ -719,13 +719,18 @@ export module Mock {
selected: 'Goosers5G',
connected: 'Goosers5G',
},
registry: 'https://registry.start9.com',
'package-registry': 'https://registry.start9.com',
'system-registry': 'https://registry.start9.com',
'unread-notification-count': 4,
specs: {
CPU: 'Cortex-A72: 4 Cores @1500MHz',
Disk: '1TB SSD',
Memory: '8GB',
},
'connection-addresses': {
tor: [],
clearnet: [],
},
},
'package-data': {
'bitcoind': bitcoind,