Remove out-of-specification notifications/stderr sending
This commit is contained in:
parent
a86312525b
commit
4c192aee93
1 changed files with 0 additions and 12 deletions
|
|
@ -209,18 +209,6 @@ export const createServer = () => {
|
||||||
}, 20000);
|
}, 20000);
|
||||||
|
|
||||||
|
|
||||||
// Set up update interval for stderr messages
|
|
||||||
stdErrUpdateInterval = setInterval(() => {
|
|
||||||
const shortTimestamp = new Date().toLocaleTimeString([], {
|
|
||||||
hour: "2-digit",
|
|
||||||
minute: "2-digit",
|
|
||||||
second: "2-digit"
|
|
||||||
});
|
|
||||||
server.notification({
|
|
||||||
method: "notifications/stderr",
|
|
||||||
params: { content: `${shortTimestamp}: A stderr message` },
|
|
||||||
});
|
|
||||||
}, 30000);
|
|
||||||
|
|
||||||
// Helper method to request sampling from client
|
// Helper method to request sampling from client
|
||||||
const requestSampling = async (
|
const requestSampling = async (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue