From e1b03d9a9860a11331434df19bb27eb986a0efb8 Mon Sep 17 00:00:00 2001 From: EhsanAzish80 Date: Tue, 10 Nov 2026 11:20:00 +0300 Subject: [PATCH] fix: space conformance progress notifications --- Sources/MCPConformance/Server/main.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MCPConformance/Server/main.swift b/Sources/MCPConformance/Server/main.swift index 6a7ccead..dde6a605 100644 --- a/Sources/MCPConformance/Server/main.swift +++ b/Sources/MCPConformance/Server/main.swift @@ -133,13 +133,13 @@ func createConformanceServer(state: ServerState, transport: StatefulHTTPServerTr .init(progressToken: token, progress: 0, total: 100) ) try await server?.notify(notification1) - try await Task.sleep(for: .microseconds(50)) + try await Task.sleep(for: .milliseconds(50)) let notification2 = ProgressNotification.message( .init(progressToken: token, progress: 50, total: 100) ) try await server?.notify(notification2) - try await Task.sleep(for: .microseconds(50)) + try await Task.sleep(for: .milliseconds(50)) let notification3 = ProgressNotification.message( .init(progressToken: token, progress: 100, total: 100)