diff --git a/packages/server/src/portScanner.ts b/packages/server/src/portScanner.ts index bd4ecaddc..b5c36bf94 100644 --- a/packages/server/src/portScanner.ts +++ b/packages/server/src/portScanner.ts @@ -17,7 +17,7 @@ export interface PortScanner { * Will scan local ports and emit events when ports are added or removed. * Currently only scans TCP ports. */ -export const createPortScanner = (scanInterval: number = 250): PortScanner => { +export const createPortScanner = (scanInterval: number = 5000): PortScanner => { const ports = new Map(); const addEmitter = new Emitter(); @@ -76,6 +76,7 @@ export const createPortScanner = (scanInterval: number = 250): PortScanner => { let disposed: boolean = false; const doInterval = (): void => { + logger.trace("scanning ports"); scan((error) => { if (error) { logger.error(`Port scanning will not be available: ${error.message}.`);