kb-server 0.0.1-beta.32 → 0.0.1-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,8 +113,8 @@ const packSSE = (sseHandlers, options) => {
|
|
|
113
113
|
logger_1.logger.log("info", `发送消息:\n${response}`);
|
|
114
114
|
logger_1.logger.log("info", `耗时:${took} ms - RequestId: ${requestId}`);
|
|
115
115
|
res.write(response);
|
|
116
|
-
// 延迟
|
|
117
|
-
await (0, sleep_1.sleep)(
|
|
116
|
+
// 延迟100ms关闭连接
|
|
117
|
+
await (0, sleep_1.sleep)(100);
|
|
118
118
|
return res.end();
|
|
119
119
|
}
|
|
120
120
|
};
|