We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0025812 commit b0bfdbcCopy full SHA for b0bfdbc
packages/server/src/portScanner.ts
@@ -17,7 +17,7 @@ export interface PortScanner {
17
* Will scan local ports and emit events when ports are added or removed.
18
* Currently only scans TCP ports.
19
*/
20
-export const createPortScanner = (scanInterval: number = 250): PortScanner => {
+export const createPortScanner = (scanInterval: number = 5000): PortScanner => {
21
const ports = new Map<number, number>();
22
23
const addEmitter = new Emitter<number[]>();
@@ -76,6 +76,7 @@ export const createPortScanner = (scanInterval: number = 250): PortScanner => {
76
let disposed: boolean = false;
77
78
const doInterval = (): void => {
79
+ logger.trace("scanning ports");
80
scan((error) => {
81
if (error) {
82
logger.error(`Port scanning will not be available: ${error.message}.`);
0 commit comments