Skip to content

Commit b8ecbe7

Browse files
committed
Adjust intervals for outgoing demo messages
- subscription updates: 10 seconds - logging messages: 20 seconds - stderr messages: 30 seconds
1 parent 41fa29e commit b8ecbe7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/everything/everything.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const createServer = () => {
124124
params: { uri },
125125
});
126126
}
127-
}, 5000);
127+
}, 10000);
128128

129129
let logLevel: LoggingLevel = "debug";
130130
let logsUpdateInterval: NodeJS.Timeout | undefined;
@@ -153,7 +153,7 @@ export const createServer = () => {
153153
};
154154
if (!isMessageIgnored(message.params.level as LoggingLevel))
155155
server.notification(message);
156-
}, 15000);
156+
}, 20000);
157157

158158

159159
// Set up update interval for stderr messages
@@ -167,7 +167,7 @@ export const createServer = () => {
167167
method: "notifications/stderr",
168168
params: { content: `${shortTimestamp}: A stderr message` },
169169
});
170-
}, 10000);
170+
}, 30000);
171171

172172
// Helper method to request sampling from client
173173
const requestSampling = async (

0 commit comments

Comments
 (0)